Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for keepAliveTicker (0.06 sec)

  1. cmd/admin-handlers.go

    		BlockSize: blockSize,
    		FileSize:  fileSize,
    	}
    
    	keepAliveTicker := time.NewTicker(500 * time.Millisecond)
    	defer keepAliveTicker.Stop()
    
    	ch := globalNotificationSys.DriveSpeedTest(ctx, opts)
    
    	enc := json.NewEncoder(w)
    	for {
    		select {
    		case <-ctx.Done():
    			return
    		case <-keepAliveTicker.C:
    			// Write a blank entry to prevent client from disconnecting
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
Back to top