- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for configLogOnceIf (0.51 sec)
-
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 Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 11.8K bytes - Viewed (0) -
cmd/logging.go
logger.LogIf(ctx, "transition", err, errKind...) } func configLogIf(ctx context.Context, err error, errKind ...interface{}) { logger.LogIf(ctx, "config", err, errKind...) } func configLogOnceIf(ctx context.Context, err error, id string, errKind ...interface{}) { logger.LogOnceIf(ctx, "config", err, id, errKind...) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 7.2K bytes - Viewed (0) -
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 Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 30 08:14:58 UTC 2024 - 30.8K bytes - Viewed (0)