Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for expiryOp (0.18 sec)

  1. cmd/bucket-lifecycle.go

    		ongoing: false,
    		expiry:  expiry.UTC(),
    	}
    }
    
    // String returns x-amz-restore compatible representation of r.
    func (r restoreObjStatus) String() string {
    	if r.Ongoing() {
    		return `ongoing-request="true"`
    	}
    	return fmt.Sprintf(`ongoing-request="false", expiry-date="%s"`, r.expiry.Format(http.TimeFormat))
    }
    
    // Expiry returns expiry of restored object and true if restore-object has completed.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  2. cmd/data-scanner_test.go

    	globalBucketObjectLockSys = &BucketObjectLockSys{}
    	globalBucketVersioningSys = &BucketVersioningSys{}
    	es := newExpiryState(context.Background(), objAPI, 0)
    	workers := []chan expiryOp{make(chan expiryOp)}
    	es.workers.Store(&workers)
    	globalExpiryState = es
    	var wg sync.WaitGroup
    	wg.Add(1)
    	expired := make([]ObjectToDelete, 0, 5)
    	go func() {
    		defer wg.Done()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  3. docs/bucket/replication/setup_ilm_expiry_replication.sh

    if [ $count2 -ne 100 ]; then
    	echo "BUG: Modified ILM expiry rule not replicated to 'siteb'"
    	exit 1
    fi
    
    ## Check disabling of ILM expiry rules replication
    ./mc admin replicate update sitea --disable-ilm-expiry-replication
    flag=$(./mc admin replicate info sitea --json | jq '.sites[] | select (.name=="sitea") | ."replicate-ilm-expiry"')
    if [ "$flag" != "false" ]; then
    	echo "BUG: ILM expiry replication not disabled for 'sitea'"
    	exit 1
    fi
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/job/PurgeThumbnailJob.java

                return e.getMessage();
            }
        }
    
        public long getExpiry() {
            return expiry;
        }
    
        public PurgeThumbnailJob expiry(final long expiry) {
            if (expiry > 0) {
                this.expiry = expiry;
            }
            return this;
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  5. internal/config/api/api.go

    	apiReplicationMaxWorkers   = "replication_max_workers"
    
    	apiTransitionWorkers           = "transition_workers"
    	apiStaleUploadsCleanupInterval = "stale_uploads_cleanup_interval"
    	apiStaleUploadsExpiry          = "stale_uploads_expiry"
    	apiDeleteCleanupInterval       = "delete_cleanup_interval"
    	apiDisableODirect              = "disable_odirect"
    	apiODirect                     = "odirect"
    	apiGzipObjects                 = "gzip_objects"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 01:08:07 GMT 2024
    - 11.1K bytes
    - Viewed (1)
  6. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

            protected final FessConfig fessConfig;
    
            FilePurgeVisitor(final Path basePath, final String imageExtention, final long expiry) {
                this.basePath = basePath;
                this.imageExtention = imageExtention;
                this.expiry = expiry;
                this.fessConfig = ComponentUtil.getFessConfig();
                this.maxPurgeSize = fessConfig.getPageThumbnailPurgeMaxFetchSizeAsInteger();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  7. internal/auth/credentials.go

    		subtle.ConstantTimeCompare([]byte(cred.SessionToken), []byte(ccred.SessionToken)) == 1)
    }
    
    var timeSentinel = time.Unix(0, 0).UTC()
    
    // ErrInvalidDuration invalid token expiry
    var ErrInvalidDuration = errors.New("invalid token expiry")
    
    // ExpToInt64 - convert input interface value to int64.
    func ExpToInt64(expI interface{}) (expAt int64, err error) {
    	switch exp := expI.(type) {
    	case string:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  8. cmd/signature-v4-parser_test.go

    			expectedErrCode:       ErrMalformedPresignedDate,
    		},
    		// Test case - 5.
    		// Test case with valid "X-Amz-Algorithm", "X-Amz-Credential", "X-Amz-Date" query value.
    		// Malformed Expiry, a valid expiry should be of format "<int>s".
    		{
    			inputQueryKeyVals: []string{
    				// valid  "X-Amz-Algorithm" header.
    				"X-Amz-Algorithm", signV4Algorithm,
    				// valid  "X-Amz-Credential" header.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 27.4K bytes
    - Viewed (0)
  9. cmd/sts-handlers.go

    		return
    	}
    
    	// Expiry is set as minimum of requested value and value allowed by auth
    	// plugin.
    	expiry := res.Success.MaxValiditySeconds
    	if durationParam != "" && requestedDuration < expiry {
    		expiry = requestedDuration
    	}
    
    	parentUser := "custom:" + res.Success.User
    
    	// metadata map
    	claims[expClaim] = UTCNow().Add(time.Duration(expiry) * time.Second).Unix()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  10. src/main/java/org/codelibs/fess/app/service/JobLogService.java

            });
        }
    
        public void updateStatus() {
            final long expiry = ComponentUtil.getSystemHelper().getCurrentTimeAsLong() - expiredJobInterval;
            final List<JobLog> list = jobLogBhv.selectList(cb -> {
                cb.query().bool((must, should, mustNot, filter) -> {
                    must.setLastUpdated_LessEqual(expiry);
                    mustNot.setEndTime_Exists();
                });
            });
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.2K bytes
    - Viewed (0)
Back to top