- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ServiceFreeze (0.08 sec)
-
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) -
cmd/notification.go
// - 'freeze' should be set to 'false' for this call // to resume normal operations. func (sys *NotificationSys) ServiceFreeze(ctx context.Context, freeze bool) []NotificationPeerErr { serviceSig := serviceUnFreeze if freeze { serviceSig = serviceFreeze } ng := WithNPeers(len(sys.peerClients)) for idx, client := range sys.peerClients { if client == nil { continue }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 45.9K bytes - Viewed (0)