Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for updateState (0.14 sec)

  1. internal/grid/connection.go

    	}
    	err = conn.SetWriteDeadline(time.Now().Add(connWriteTimeout))
    	if err != nil {
    		return err
    	}
    	return wsutil.WriteMessage(conn, c.side, ws.OpBinary, dst)
    }
    
    func (c *Connection) connect() {
    	c.updateState(StateConnecting)
    	rng := rand.New(rand.NewSource(time.Now().UnixNano()))
    	// Runs until the server is shut down.
    	for {
    		if c.State() == StateShutdown {
    			return
    		}
    		dialStarted := time.Now()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  2. cmd/site-replication-utils.go

    				wg.Wait()
    				sm.Unlock()
    			}
    			sTimer.Reset(siteResyncSaveInterval)
    		case <-ctx.Done():
    			return
    		}
    	}
    }
    
    // update overall site resync state
    func (sm *siteResyncMetrics) updateState(s SiteResyncStatus) error {
    	if !globalSiteReplicationSys.isEnabled() {
    		return nil
    	}
    	sm.Lock()
    	defer sm.Unlock()
    	switch s.Status {
    	case ResyncStarted:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. cmd/site-replication.go

    	defer func() {
    		if err != nil {
    			rs.Status = ResyncFailed
    			saveSiteResyncMetadata(ctx, rs, objAPI)
    			globalSiteResyncMetrics.updateState(rs)
    		}
    	}()
    
    	if err := globalSiteResyncMetrics.updateState(rs); err != nil {
    		return res, err
    	}
    
    	for _, bi := range buckets {
    		bucket := bi.Name
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  4. okhttp-android/src/main/baseline-prof.txt

    Lkotlinx/coroutines/internal/SystemPropsKt__SystemPropsKt;
    Lkotlinx/coroutines/internal/ThreadContextKt$countAll$1;
    Lkotlinx/coroutines/internal/ThreadContextKt$findOne$1;
    Lkotlinx/coroutines/internal/ThreadContextKt$updateState$1;
    Lkotlinx/coroutines/internal/ThreadContextKt;
    Lkotlinx/coroutines/internal/ThreadSafeHeap;
    Lkotlinx/coroutines/internal/ThreadSafeHeapNode;
    Lkotlinx/coroutines/internal/ThreadState;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
  5. dbflute_fess/dfprop/littleAdjustmentMap.dfprop

        #  The definition for optimistic lock of DBFlute.
        #
        #; optimisticLockMap = map:{
        #    # o updateDateFieldName: (NotRequired - Default '')
        #    ; updateDateFieldName = UPDATE_DATE
        #
        #    # o versionNoFieldName: (NotRequired - Default 'VERSION_NO')
        #    #  The column name of version no for optimistic lock.
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Jul 25 06:04:16 UTC 2015
    - 8.8K bytes
    - Viewed (0)
  6. cmd/http-stats.go

    	serverStats.TotalS3Canceled = ServerHTTPAPIStats{
    		APIStats: st.totalS3Canceled.Load(toLowerKeys),
    	}
    	return serverStats
    }
    
    // Update statistics from http request and response data
    func (st *HTTPStats) updateStats(api string, w *xhttp.ResponseRecorder) {
    	st.totalS3Requests.Inc(api)
    
    	// Increment the prometheus http request response histogram with appropriate label
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  7. cmd/iam-object-store.go

    			// This means that policy was in the old version (without any
    			// timestamp info). We fetch the mod time of the file and save
    			// that as create and update date.
    			p.CreateDate = objInfo.ModTime
    			p.UpdateDate = objInfo.ModTime
    		}
    
    		m[policy] = p
    		return nil
    	}
    }
    
    func (iamOS *IAMObjectStore) loadPolicy(ctx context.Context, policy string) (PolicyDoc, error) {
    	var p PolicyDoc
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  8. cmd/iam-store.go

    	Policy     policy.Policy
    	CreateDate time.Time `json:",omitempty"`
    	UpdateDate time.Time `json:",omitempty"`
    }
    
    func newPolicyDoc(p policy.Policy) PolicyDoc {
    	now := UTCNow().Round(time.Millisecond)
    	return PolicyDoc{
    		Version:    1,
    		Policy:     p,
    		CreateDate: now,
    		UpdateDate: now,
    	}
    }
    
    // defaultPolicyDoc - used to wrap a default policy as PolicyDoc.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  9. cmd/handler-utils.go

    		f.ServeHTTP(w, r)
    		globalHTTPStats.currentS3Requests.Dec(api)
    
    		tc, _ := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt)
    		if tc != nil {
    			globalHTTPStats.updateStats(api, tc.ResponseRecorder)
    			globalConnStats.incS3InputBytes(int64(tc.RequestRecorder.Size()))
    			globalConnStats.incS3OutputBytes(int64(tc.ResponseRecorder.Size()))
    
    			if countBktStat {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  10. cmd/iam.go

    	pdata, err := json.Marshal(d.Policy)
    	if err != nil {
    		return nil, err
    	}
    
    	return &madmin.PolicyInfo{
    		PolicyName: policyName,
    		Policy:     pdata,
    		CreateDate: d.CreateDate,
    		UpdateDate: d.UpdateDate,
    	}, nil
    }
    
    // ListPolicies - lists all canned policies.
    func (sys *IAMSys) ListPolicies(ctx context.Context, bucketName string) (map[string]policy.Policy, error) {
    	if !sys.Initialized() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
Back to top