Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 87 for Refreshed (0.11 sec)

  1. pkg/ctrlz/assets/templates/modules/last-refresh.html

    {{ define "last-refresh" }}
    <p class="last-refresh">Last refreshed: <span id="last-refresh"></span></p>
    <script>
        function updateRefreshTime() {
            var d = new Date();
            document.getElementById("last-refresh").innerText = d.toLocaleString();
        }
        updateRefreshTime()
    </script>
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 306 bytes
    - Viewed (0)
  2. cmd/lock-rest-server.go

    func (l *lockRESTServer) RefreshHandler(args *dsync.LockArgs) (*dsync.LockResp, *grid.RemoteErr) {
    	resp := lockRPCRefresh.NewResponse()
    	refreshed, err := l.ll.Refresh(context.Background(), *args)
    	if err != nil {
    		return l.makeResp(resp, err)
    	}
    	if !refreshed {
    		return l.makeResp(resp, errLockNotFound)
    	}
    	return l.makeResp(resp, err)
    }
    
    // LockHandler - Acquires a lock.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  3. internal/dsync/drwmutex.go

    			ctx, cancel := context.WithTimeout(ctx, ds.Timeouts.RefreshCall)
    			defer cancel()
    
    			refreshed, err := c.Refresh(ctx, args)
    			if err != nil {
    				ch <- refreshResult{offline: true}
    				log("dsync: Unable to call Refresh failed with %s for %#v at %s\n", err, args, c)
    			} else {
    				ch <- refreshResult{refreshed: refreshed}
    				log("dsync: Refresh returned false for %#v at %s\n", args, c)
    			}
    		}(index, c)
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/cacher/time_budget.go

    	"k8s.io/utils/clock"
    )
    
    const (
    	refreshPerSecond = 50 * time.Millisecond
    	maxBudget        = 100 * time.Millisecond
    )
    
    // timeBudget implements a budget of time that you can use and is
    // periodically being refreshed. The pattern to use it is:
    //
    //	budget := newTimeBudget(...)
    //	...
    //	timeout := budget.takeAvailable()
    //	// Now you can spend at most timeout on doing stuff
    //	...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  5. pkg/serviceaccount/metrics.go

    			Name:           "legacy_tokens_total",
    			Help:           "Cumulative legacy service account tokens used",
    			StabilityLevel: metrics.ALPHA,
    		},
    	)
    
    	// StaleTokensTotal is the number of stale projected tokens not refreshed on
    	// client side.
    	staleTokensTotal = metrics.NewCounter(
    		&metrics.CounterOpts{
    			Subsystem:      kubeServiceAccountSubsystem,
    			Name:           "stale_tokens_total",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 03:52:06 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  6. internal/dsync/dsync-server_test.go

    	lockNotFound bool
    
    	// Set to true if you want peers servers to do not respond
    	responseDelay int64
    }
    
    func (l *lockServer) setRefreshReply(refreshed bool) {
    	l.mutex.Lock()
    	defer l.mutex.Unlock()
    	l.lockNotFound = !refreshed
    }
    
    func (l *lockServer) setResponseDelay(responseDelay time.Duration) {
    	atomic.StoreInt64(&l.responseDelay, int64(responseDelay))
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jan 23 16:46:37 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  7. pkg/kubelet/container/runtime_cache.go

    type runtimeCache struct {
    	sync.Mutex
    	// The underlying container runtime used to update the cache.
    	getter podsGetter
    	// The interval after which the cache should be refreshed.
    	cachePeriod time.Duration
    	// Last time when cache was updated.
    	cacheTime time.Time
    	// The content of the cache.
    	pods []*Pod
    }
    
    // GetPods returns the cached pods if they are not outdated; otherwise, it
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 09 04:03:51 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/AbstractCrossTaskIncrementalCompilationIntegrationTest.groovy

    import spock.lang.Issue
    
    abstract class AbstractCrossTaskIncrementalCompilationIntegrationTest extends AbstractCrossTaskIncrementalCompilationSupport {
    
        def "detects change to dependency and ensures class dependency info refreshed"() {
            source api: ["class A {}", "class B extends A {}"]
            source impl: ["class SomeImpl {}", "class ImplB extends B {}", "class ImplB2 extends ImplB {}"]
            impl.snapshot { run language.compileTaskName }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 23:55:46 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  9. internal/dsync/dsync-client_test.go

    	return restClient.Call("/v1/unlock", args)
    }
    
    func (restClient *ReconnectRESTClient) Refresh(ctx context.Context, args LockArgs) (refreshed bool, err error) {
    	return restClient.Call("/v1/refresh", args)
    }
    
    func (restClient *ReconnectRESTClient) ForceUnlock(ctx context.Context, args LockArgs) (reply bool, err error) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 20 17:36:09 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  10. internal/config/identity/openid/provider/keycloak.go

    type KeycloakProvider struct {
    	sync.Mutex
    
    	oeConfig DiscoveryDoc
    	client   http.Client
    	adminURL string
    	realm    string
    
    	// internal value refreshed
    	accessToken Token
    }
    
    // LoginWithUser authenticates username/password, not needed for Keycloak
    func (k *KeycloakProvider) LoginWithUser(username, password string) error {
    	return ErrNotImplemented
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 29 01:27:09 UTC 2022
    - 4.6K bytes
    - Viewed (0)
Back to top