- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 77 for UTCNow (0.2 sec)
-
cmd/bucket-replication_test.go
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Sat Sep 16 09:28:06 GMT 2023 - 12.2K bytes - Viewed (0) -
cmd/namespace-lock.go
} // Lock - block until write lock is taken or timeout has occurred. func (di *distLockInstance) GetLock(ctx context.Context, timeout *dynamicTimeout) (LockContext, error) { lockSource := getSource(2) start := UTCNow() newCtx, cancel := context.WithCancel(ctx) if !di.rwMutex.GetLock(newCtx, cancel, di.opsID, lockSource, dsync.Options{ Timeout: timeout.Timeout(), RetryInterval: timeout.RetryInterval(), }) {
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Mon Jun 05 23:56:35 GMT 2023 - 9.2K bytes - Viewed (0) -
cmd/lock-rest-server-common_test.go
Owner: "owner", Writer: true, UID: "0123-4567", Timestamp: UTCNow(), TimeLastRefresh: UTCNow(), } lockRequesterInfo2 := lockRequesterInfo{ Owner: "owner", Writer: true, UID: "89ab-cdef", Timestamp: UTCNow(), TimeLastRefresh: UTCNow(), } locker.ll.lockMap["name"] = []lockRequesterInfo{ lockRequesterInfo1, lockRequesterInfo2,
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Mar 23 17:26:21 GMT 2023 - 3.1K bytes - Viewed (0) -
cmd/metrics-realtime.go
} } if types.Contains(madmin.MetricsMem) { m.Aggregated.Mem = &madmin.MemMetrics{ CollectedAt: UTCNow(), } m.Aggregated.Mem.Info = madmin.GetMemInfo(GlobalContext, byHostName) } if types.Contains(madmin.MetricsCPU) { m.Aggregated.CPU = &madmin.CPUMetrics{ CollectedAt: UTCNow(), } cm, err := c.Times(false) if err != nil {
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Wed Apr 10 16:28:08 GMT 2024 - 6.1K bytes - Viewed (0) -
cmd/local-locker.go
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Mon Feb 19 22:54:46 GMT 2024 - 10.6K bytes - Viewed (0) -
cmd/metacache.go
func (m *metacache) update(update metacache) { m.lastUpdate = UTCNow() if m.lastHandout.After(m.lastHandout) { m.lastHandout = UTCNow() } if m.status == scanStateStarted && update.status == scanStateSuccess { m.ended = UTCNow() } if m.status == scanStateStarted && update.status != scanStateStarted { m.status = update.status }
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 5K bytes - Viewed (0) -
cmd/site-replication-utils.go
st.Status = siteResyncStatus(st.Status, st.BucketStatuses) st.LastUpdate = UTCNow() sm.resyncStatus[o.resyncID] = st case ResyncFailed: st.BucketStatuses[o.bucket] = ResyncFailed st.Status = siteResyncStatus(st.Status, st.BucketStatuses) st.LastUpdate = UTCNow() sm.resyncStatus[o.resyncID] = st } } } // remove deleted bucket from active resync tracking
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 8.9K bytes - Viewed (1) -
cmd/admin-heal-ops.go
h.healFailedItemsMap[d.Endpoint+","+d.State]++ } h.lastHealActivity = UTCNow() } func (h *healSequence) countHeals(healType madmin.HealItemType, healed bool) { h.mutex.Lock() defer h.mutex.Unlock() if !healed { h.scannedItemsMap[healType]++ } else { h.healedItemsMap[healType]++ } h.lastHealActivity = UTCNow() } // isQuitting - determines if the heal sequence is quitting (due to an
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 25.1K bytes - Viewed (1) -
cmd/erasure-metadata_test.go
if testCase.expectedIndex > -1 { partNumString := strconv.Itoa(testCase.partNum) fi.AddObjectPart(testCase.partNum, "etag."+partNumString, int64(testCase.partNum+humanize.MiByte), ActualSize, UTCNow(), nil, nil) } if index := objectPartIndex(fi.Parts, testCase.partNum); index != testCase.expectedIndex { t.Fatalf("%+v: expected = %d, got: %d", testCase, testCase.expectedIndex, index) } } }
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Sat Mar 02 05:11:03 GMT 2024 - 9K bytes - Viewed (0) -
cmd/bucket-replication-stats.go
r.mostRecentStatsMu.Lock() if len(r.mostRecentStats.Stats) == 0 { r.mostRecentStats = BucketStatsMap{Stats: make(map[string]BucketStats, 1), Timestamp: UTCNow()} } if len(bs.ReplicationStats.Stats) > 0 { r.mostRecentStats.Stats[bucket] = bs } r.mostRecentStats.Timestamp = UTCNow() r.mostRecentStatsMu.Unlock() return bs } // get the most current of in-memory replication stats and data usage info from crawler.
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 13.4K bytes - Viewed (0)