Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TimeLastRefresh (0.69 sec)

  1. cmd/local-locker_gen.go

    		case "Timestamp":
    			z.Timestamp, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "Timestamp")
    				return
    			}
    		case "TimeLastRefresh":
    			z.TimeLastRefresh, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "TimeLastRefresh")
    				return
    			}
    		case "Source":
    			z.Source, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Source")
    				return
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jan 31 19:54:34 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  2. cmd/local-locker.go

    	Writer          bool   // Bool whether write or read lock.
    	UID             string // UID to uniquely identify request of client.
    	Timestamp       int64  // Timestamp set at the time of initialization.
    	TimeLastRefresh int64  // Timestamp for last lock refresh.
    	Source          string // Contains line, function and filename requesting the lock.
    	Group           bool   // indicates if it was a group lock.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12K bytes
    - Viewed (0)
  3. cmd/lock-rest-server-common_test.go

    		Writer:          true,
    		UID:             "0123-4567",
    		Timestamp:       UTCNow().UnixNano(),
    		TimeLastRefresh: UTCNow().UnixNano(),
    	}
    	lockRequesterInfo2 := lockRequesterInfo{
    		Owner:           "owner",
    		Writer:          true,
    		UID:             "89ab-cdef",
    		Timestamp:       UTCNow().UnixNano(),
    		TimeLastRefresh: UTCNow().UnixNano(),
    	}
    
    	locker.ll.lockMap["name"] = []lockRequesterInfo{
    		lockRequesterInfo1,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. cmd/local-locker_test.go

    					}
    
    					// Expire 50%
    					expired := time.Now().Add(-time.Hour * 2)
    					for _, v := range l.lockMap {
    						for i := range v {
    							if rng.Intn(2) == 0 {
    								v[i].TimeLastRefresh = expired.UnixNano()
    							}
    						}
    					}
    					start = time.Now()
    					l.expireOldLocks(time.Hour)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.8K bytes
    - Viewed (0)
Back to top