Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ServiceFreeze (0.05 sec)

  1. cmd/admin-handlers.go

    	defer nsLock.Unlock(lkctx)
    
    	// Freeze all incoming S3 API calls before running speedtest.
    	globalNotificationSys.ServiceFreeze(ctx, true)
    
    	// Unfreeze as soon as request context is canceled or when the function returns.
    	go func() {
    		<-ctx.Done()
    		globalNotificationSys.ServiceFreeze(ctx, false)
    	}()
    
    	durationStr := r.Form.Get(peerRESTDuration)
    	duration, err := time.ParseDuration(durationStr)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 99.6K bytes
    - Viewed (0)
Back to top