- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for getStaleUploadsExpiry (0.12 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
cmd/handler-api.go
t.mu.RLock() defer t.mu.RUnlock() if t.staleUploadsCleanupInterval == 0 { return 6 * time.Hour // default 6 hours } return t.staleUploadsCleanupInterval } func (t *apiConfig) getStaleUploadsExpiry() time.Duration { t.mu.RLock() defer t.mu.RUnlock() if t.staleUploadsExpiry == 0 { return 24 * time.Hour // default 24 hours } return t.staleUploadsExpiry }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 10.4K bytes - Click Count (0) -
cmd/erasure-server-pool.go
for { select { case <-ctx.Done(): return case <-timer.C: z.mpCache.Range(func(id string, info MultipartInfo) bool { if time.Since(info.Initiated) >= globalAPIConfig.getStaleUploadsExpiry() { z.mpCache.Delete(id) // No need to notify to peers, each node will delete its own cache. } return true }) // Reset for the next intervalCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 89.2K bytes - Click Count (0)