Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for configLogOnceIf (0.09 sec)

  1. internal/config/storageclass/storage-class.go

    	if inlineBlockStr != "" {
    		inlineBlock, err := humanize.ParseBytes(inlineBlockStr)
    		if err != nil {
    			return cfg, err
    		}
    		if inlineBlock > 128*humanize.KiByte {
    			configLogOnceIf(context.Background(), fmt.Errorf("inline block value bigger than recommended max of 128KiB -> %s, performance may degrade for PUT please benchmark the changes", inlineBlockStr), inlineBlockStr)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. cmd/config-current.go

    		}
    		for n, l := range loggerCfg.AuditKafka {
    			if l.Enabled {
    				if l.TLS.Enable {
    					l.TLS.RootCAs = globalRootCAs
    				}
    				l.LogOnce = configLogOnceIf
    				loggerCfg.AuditKafka[n] = l
    			}
    		}
    		if errs := logger.UpdateAuditKafkaTargets(ctx, loggerCfg); len(errs) > 0 {
    			configLogIf(ctx, fmt.Errorf("Unable to update audit kafka targets: %v", errs))
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
Back to top