Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getStaleUploadsExpiry (0.07 sec)

  1. cmd/erasure-multipart.go

    				if err != nil {
    					return nil
    				}
    				modTime = fi.ModTime
    				wait()
    			}
    			if time.Since(modTime) < globalAPIConfig.getStaleUploadsExpiry() {
    				return nil
    			}
    			w := xioutil.NewDeadlineWorker(globalDriveConfig.GetMaxTimeout())
    			return w.Run(func() error {
    				wait := deleteMultipartCleanupSleeper.Timer(ctx)
    				pathUUID := mustGetUUID()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 47.3K bytes
    - Viewed (0)
  2. 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 interval
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 89.1K bytes
    - Viewed (0)
Back to top