Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for Days (0.25 sec)

  1. internal/bucket/object/lock/lock.go

    	}
    
    	if retention.Days == nil && retention.Years == nil {
    		return fmt.Errorf("either Days or Years must be specified")
    	}
    
    	if retention.Days != nil && retention.Years != nil {
    		return fmt.Errorf("either Days or Years must be specified, not both")
    	}
    
    	//nolint:gocritic
    	if retention.Days != nil {
    		if *retention.Days == 0 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  2. docs/bucket/replication/setup_ilm_expiry_replication.sh

    ./mc ilm edit --id "${id}" --expire-days "100" sitea/bucket
    sleep 30s
    
    count1=$(./mc ilm rule list sitea/bucket --json | jq '.config.Rules[0].Expiration.Days')
    count2=$(./mc ilm rule list siteb/bucket --json | jq '.config.Rules[0].Expiration.Days')
    if [ $count1 -ne 100 ]; then
    	echo "BUG: Expiration days not changed on 'sitea'"
    	exit 1
    fi
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  3. cmd/bucket-object-lock.go

    		internalLogIf(ctx, err, logger.WarningKind)
    		return ObjectLocked{Bucket: oi.Bucket, Object: oi.Name, VersionID: oi.VersionID}
    	}
    
    	// Pass in relative days from current time, to additionally
    	// to verify "object-lock-remaining-retention-days" policy if any.
    	days := int(math.Ceil(math.Abs(objRetention.RetainUntilDate.Sub(t).Hours()) / 24))
    
    	ret := objectlock.GetObjectRetentionMeta(oi.UserDefined)
    	if ret.Mode.Valid() {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  4. cmd/bucket-lifecycle.go

    		return fmt.Errorf("OutputLocation required for SELECT requests")
    	}
    
    	if r.Days != 0 && r.Type == SelectRestoreRequest {
    		return fmt.Errorf("Days cannot be specified with SELECT restore request")
    	}
    	if r.Days == 0 && r.Type != SelectRestoreRequest {
    		return fmt.Errorf("restoration days should be at least 1")
    	}
    	// Check if bucket exists.
    	if !r.OutputLocation.IsEmpty() {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/common/extensions.kt

    /**
     * Define clean up rules for the project.
     * See https://www.jetbrains.com/help/teamcity/teamcity-data-clean-up.html#Clean-up+Rules
     *
     * @param historyDays days number of days to store build history .
     * @param artifactsDays number of days to store artifacts. In the stored history, artifacts older than this number will be cleaned up.
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Apr 12 10:49:15 GMT 2024
    - 13K bytes
    - Viewed (0)
  6. .github/workflows/scorecard.yml

          - name: "Upload artifact"
            uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
            with:
              name: SARIF file
              path: results.sarif
              retention-days: 5
    
          # Upload the results to GitHub's code scanning dashboard.
          - name: "Upload to code-scanning"
            uses: github/codeql-action/upload-sarif@8f596b4ae3cb3c588a5c46780b86dd53fef16c52 # v3.25.2
            with:
    Others
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 19:33:50 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  7. docs/distributed/decom.sh

    ./mc admin tier add minio myminio TIER1 --endpoint http://localhost:9002 --access-key minioadmin --secret-key minioadmin --bucket tiered --prefix prefix5/
    ./mc ilm add myminio/bucket2 --transition-days 0 --transition-tier TIER1 --transition-days 0
    
    ## mirror some content to bucket2 and capture versions tiered
    ./mc mirror internal myminio/bucket2/ --quiet >/dev/null
    ./mc ls -r myminio/bucket2/ >bucket2_ns.txt
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/CacheTest.kt

        //      last modified: 105 days ago
        //             served:   5 days ago
        //   default lifetime: (105 - 5) / 10 = 10 days
        //            expires:  10 days from served date = 5 days from now
        server.enqueue(
          MockResponse.Builder()
            .addHeader("Last-Modified: " + formatDate(-105, TimeUnit.DAYS))
            .addHeader("Date: " + formatDate(-5, TimeUnit.DAYS))
            .body("A")
            .build(),
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Cache.kt

     * seconds:
     *
     * ```java
     * Request request = new Request.Builder()
     *     .cacheControl(new CacheControl.Builder()
     *         .maxStale(365, TimeUnit.DAYS)
     *         .build())
     *     .url("http://publicobject.com/helloworld.txt")
     *     .build();
     * ```
     *
     * The [CacheControl] class can configure request caching directives and parse response caching
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  10. docs/it/docs/index.md

    {% endif %}
    
    <!-- /sponsors -->
    
    <a href="https://fastapi.tiangolo.com/fastapi-people/#sponsors" class="external-link" target="_blank">Altri sponsor</a>
    
    ## Recensioni
    
    "_[...] I'm using **FastAPI** a ton these days. [...] I'm actually planning to use it for all of my team's **ML services at Microsoft**. Some of them are getting integrated into the core **Windows** product and some **Office** products._"
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top