Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 166 for sub (0.16 sec)

  1. internal/config/config.go

    		DefaultKVS[subSys] = kvs
    	}
    }
    
    // HelpSubSysMap - help for all individual KVS for each sub-systems
    // also carries a special empty sub-system which dumps
    // help for each sub-system key.
    var HelpSubSysMap = map[string]HelpKVS{}
    
    // RegisterHelpSubSys - this function saves
    // input help KVS for each sub-system globally,
    // this function should be called only once
    // preferably in during `init()`.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  2. internal/pubsub/pubsub.go

    func (ps *PubSub[T, M]) Publish(item T) {
    	ps.RLock()
    	defer ps.RUnlock()
    	for _, sub := range ps.subs {
    		if sub.types.Contains(Mask(item.Mask())) && (sub.filter == nil || sub.filter(item)) {
    			select {
    			case sub.ch <- item:
    			default:
    			}
    		}
    	}
    }
    
    // Subscribe - Adds a subscriber to pubsub system
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Feb 06 16:57:30 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  3. internal/config/scanner/help.go

    			Optional:    true,
    			Type:        "int",
    		},
    		config.HelpKV{
    			Key:         ExcessFolders,
    			Description: `alert beyond this many sub-folders per folder in an erasure set` + defaultHelpPostfix(ExcessFolders),
    			Optional:    true,
    			Type:        "int",
    		},
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 12 07:41:53 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  4. cmd/perf-tests.go

    	wg.Wait()
    	for {
    		if globalNetPerfRX.ActiveConnections() == 0 {
    			break
    		}
    		time.Sleep(time.Second)
    	}
    	rx := float64(globalNetPerfRX.RXSample)
    	delta := globalNetPerfRX.firstToDisconnect.Sub(globalNetPerfRX.lastToConnect)
    	if delta < 0 {
    		rx = 0
    		errStr = "network disconnection issues detected"
    	}
    
    	globalNetPerfRX.Reset()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jan 28 18:04:17 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  5. internal/bucket/bandwidth/monitor_test.go

    	test1Want2[BucketOptions{Name: "bucket", ReplicationARN: "arn"}] = Details{
    		LimitInBytesPerSecond:            1024 * 1024,
    		CurrentBandwidthInBytesPerSecond: (1024 * 1024) / start.Add(2*time.Second).Sub(start.Add(1*time.Second)).Seconds(),
    	}
    
    	test2Want := make(map[BucketOptions]Details)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Sep 06 03:21:59 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  6. cmd/signature-v4.go

    	// request should still be allowed.
    	if pSignValues.Date.After(UTCNow().Add(globalMaxSkewTime)) {
    		return ErrRequestNotReadyYet
    	}
    
    	if UTCNow().Sub(pSignValues.Date) > pSignValues.Expires {
    		return ErrExpiredPresignRequest
    	}
    
    	// Save the date and expires.
    	t := pSignValues.Date
    	expireSeconds := int(pSignValues.Expires / time.Second)
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  7. cmd/rebalance-admin.go

    		if !ps.Info.EndTime.IsZero() {
    			stopTime = ps.Info.EndTime
    		}
    
    		if !stopTime.IsZero() { // rebalance is stopped or completed
    			elapsed = stopTime.Sub(ps.Info.StartTime)
    			eta = 0
    		}
    
    		r.Pools[i].Progress = rebalPoolProgress{
    			NumObjects:  ps.NumObjects,
    			NumVersions: ps.NumVersions,
    			Bytes:       ps.Bytes,
    			Elapsed:     elapsed,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Dec 22 00:56:43 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  8. cmd/server-main.go

    			return fmt.Errorf("Initializing sub-systems stopped gracefully %w", ctx.Err())
    		default:
    		}
    
    		// These messages only meant primarily for distributed setup, so only log during distributed setup.
    		if globalIsDistErasure {
    			logger.Info("Waiting for all MinIO sub-systems to be initialize...")
    		}
    
    		// Upon success migrating the config, initialize all sub-systems
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 33K bytes
    - Viewed (1)
  9. internal/bucket/object/lock/lock.go

    			// upon NTP failure.
    			return r
    		}
    
    		if config.Rule.DefaultRetention.Days != nil {
    			r.Validity = t.AddDate(0, 0, int(*config.Rule.DefaultRetention.Days)).Sub(t)
    		} else {
    			r.Validity = t.AddDate(int(*config.Rule.DefaultRetention.Years), 0, 0).Sub(t)
    		}
    	}
    
    	return r
    }
    
    // Maximum 4KiB size per object lock config.
    const maxObjectLockConfigSize = 1 << 12
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  10. internal/config/scanner/scanner.go

    	// Sleep always or based on incoming S3 requests.
    	IdleMode int32 // 0 => on, 1 => off
    
    	// Alert upon this many excess object versions
    	ExcessVersions int64 // 100
    
    	// Alert upon this many excess sub-folders per folder in an erasure set.
    	ExcessFolders int64 // 50000
    
    	// MaxWait is maximum wait time between operations
    	MaxWait time.Duration
    	// Cycle is the time.Duration between each scanner cycles
    	Cycle time.Duration
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 5.5K bytes
    - Viewed (0)
Back to top