Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Janitor (0.18 sec)

  1. internal/bucket/bandwidth/monitor_gen.go

    Krishnan Parthasarathi <******@****.***> 1711041695 -0700
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  2. internal/grid/connection.go

    	}
    	atomic.StoreUint32((*uint32)(&c.state), uint32(s))
    	if debugPrint {
    		fmt.Println(c.Local, "updateState:", gotState, "->", s)
    	}
    	c.connChange.Broadcast()
    }
    
    // monitorState will monitor the state of the connection and close the net.Conn if it changes.
    func (c *Connection) monitorState(conn net.Conn, cancel context.CancelCauseFunc) {
    	c.connChange.L.Lock()
    	defer c.connChange.L.Unlock()
    	for {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  3. cmd/xl-storage-disk-id-check.go

    					goOffline(fmt.Errorf("unable to read: %w", err), 0)
    				}
    				return
    			}
    		}()
    
    		// Continue to monitor
    		return true
    	}
    
    	for {
    		select {
    		case <-ctx.Done():
    			return
    		case <-t.C:
    			if !monitor() {
    				return
    			}
    		}
    	}
    }
    
    // checkID will check if the disk ID matches the provided ID.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  4. cmd/globals.go

    	globalEventNotifier    *EventNotifier
    	globalNotifyTargetList *event.TargetList
    	globalLambdaTargetList *levent.TargetList
    
    	globalBucketMetadataSys *BucketMetadataSys
    	globalBucketMonitor     *bandwidth.Monitor
    	globalPolicySys         *PolicySys
    	globalIAMSys            *IAMSys
    	globalBytePoolCap       atomic.Pointer[bpool.BytePoolCap]
    
    	globalLifecycleSys       *LifecycleSys
    	globalBucketSSEConfigSys *BucketSSEConfigSys
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  5. internal/bucket/bandwidth/monitor_gen_test.go

    Klaus Post <******@****.***> 1708383286 -0800
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  6. internal/bucket/bandwidth/monitor.go

    import (
    	"context"
    	"sync"
    	"time"
    
    	"golang.org/x/time/rate"
    )
    
    //msgp:ignore bucketThrottle Monitor
    
    type bucketThrottle struct {
    	*rate.Limiter
    	NodeBandwidthPerSec int64
    }
    
    // Monitor holds the state of the global bucket monitor
    type Monitor struct {
    	tlock sync.RWMutex // mutex for bucket throttling
    	mlock sync.RWMutex // mutex for bucket measurement
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 6K bytes
    - Viewed (0)
  7. cmd/erasure-sets.go

    	s.connectDisks()
    
    	monitor := time.NewTimer(monitorInterval)
    	defer monitor.Stop()
    
    	for {
    		select {
    		case <-ctx.Done():
    			return
    		case <-monitor.C:
    			if serverDebugLog {
    				console.Debugln("running drive monitoring")
    			}
    
    			s.connectDisks()
    
    			// Reset the timer for next interval
    			monitor.Reset(monitorInterval)
    		}
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 37.7K bytes
    - Viewed (5)
  8. cmd/server-main.go

    	if globalBucketMetadataSys == nil {
    		globalBucketMetadataSys = NewBucketMetadataSys()
    	} else {
    		// Reinitialize safely when testing.
    		globalBucketMetadataSys.Reset()
    	}
    
    	// Create the bucket bandwidth monitor
    	globalBucketMonitor = bandwidth.NewMonitor(ctx, uint64(totalNodeCount()))
    
    	// Create a new config system.
    	globalConfigSys = NewConfigSys()
    
    	// Create new IAM system.
    	globalIAMSys = NewIAMSys()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
Back to top