Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 150 for Days (0.17 sec)

  1. .github/workflows/stale-issues.yml

                This issue is stale because it has been open for 7 days with no activity.
                It will be closed if no further activity occurs. Thank you.
              close-issue-message: >
                This issue was closed because it has been inactive for 7 days since being marked as stale.
                Please reopen if you'd like to work on this further.
              days-before-pr-stale: 14
              days-before-pr-close: 14
    Others
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Nov 23 20:04:38 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/expiration_test.go

    			inputXML: `<Expiration>
                                        <Days>3</Days>
                                        <Date>2019-04-20T00:00:00Z</Date>
                                        </Expiration>`,
    			expectedErr: errLifecycleInvalidExpiration,
    		},
    		{ // Expiration with both ExpiredObjectDeleteMarker and days
    			inputXML: `<Expiration>
                                        <Days>3</Days>
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Feb 21 20:28:34 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  3. 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)
  4. internal/bucket/object/lock/lock_test.go

    		},
    		{
    			value:       DefaultRetention{Mode: RetGovernance, Days: &days, Years: &years},
    			expectedErr: fmt.Errorf("either Days or Years must be specified, not both"),
    			expectErr:   true,
    		},
    		{
    			value:       DefaultRetention{Mode: RetGovernance, Days: &zerodays},
    			expectedErr: fmt.Errorf("Default retention period must be a positive integer value for 'Days'"),
    			expectErr:   true,
    		},
    		{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  5. internal/bucket/lifecycle/lifecycle.go

    // modification time plus the number of transition/restore days.
    //
    //	e.g. If the object modtime is `Thu May 21 13:42:50 GMT 2020` and the object should
    //	    transition in 1 day, then the expected transition time is `Fri, 23 May 2020 00:00:00 GMT`
    func ExpectedExpiryTime(modTime time.Time, days int) time.Time {
    	if days == 0 {
    		return modTime
    	}
    	t := modTime.UTC().Add(time.Duration(days+1) * 24 * time.Hour)
    	return t.Truncate(24 * time.Hour)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 17K bytes
    - Viewed (0)
  6. .github/workflows/stale-pr.yml

              # (see actions/stale documentation for the behavior)
              days-before-issue-stale: -1
              stale-issue-label: stale
              stale-issue-message: >
                **BUG!** This issue should not be marked stale by the "stale" workflow.
                Please report it to @gradle/bt-support team
              days-before-issue-close: -1
              close-issue-message: >
    Others
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Mon Feb 05 12:52:42 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  7. 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)
  8. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

            cal.setTimeInMillis(ComponentUtil.getSystemHelper().getCurrentTimeAsLong());
            return cal;
        }
    
        public void addIntervalRule(final String from, final String to, final String days, final long delay) {
            ruleList.add(new IntervalRule(from, to, days, delay));
        }
    
        public boolean isCrawlerRunning() {
            return crawlerRunning;
        }
    
        public void setCrawlerRunning(final boolean crawlerRunning) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  9. internal/bucket/lifecycle/lifecycle_test.go

    			objectName:     "foxdir/fooobject",
    			objectModTime:  time.Now().UTC().Add(-10 * 24 * time.Hour), // Created 10 days ago
    			expectedAction: NoneAction,
    		},
    		// Should remove (test Days)
    		{
    			inputConfig:    `<LifecycleConfiguration><Rule><Filter><Prefix>foodir/</Prefix></Filter><Status>Enabled</Status><Expiration><Days>5</Days></Expiration></Rule></LifecycleConfiguration>`,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 45.6K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/expiration.go

    	errLifecycleInvalidDays         = Errorf("Days must be positive integer when used with Expiration")
    	errLifecycleInvalidExpiration   = Errorf("Exactly one of Days (positive integer) or Date (positive ISO 8601 format) should be present inside Expiration.")
    	errLifecycleInvalidDeleteMarker = Errorf("Delete marker cannot be specified with Days or Date in a Lifecycle Expiration Policy")
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Feb 21 20:28:34 GMT 2024
    - 6.6K bytes
    - Viewed (1)
Back to top