We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e669993 commit 9242d00Copy full SHA for 9242d00
internal/config/config.go
@@ -229,13 +229,14 @@ func validateConfig(config *Config) bool {
229
230
if config.General.BufferSizes.BroadcastManager <= 0 {
231
config.General.BufferSizes.BroadcastManager = 10000
232
+ }
233
- // If the cleanup flag is not set, default to true
234
+ // If the cleanup flag is not set, default to true
235
if config.General.DropOldLogs == nil {
236
log.Println("drop_old_logs is not set, defaulting to true")
237
defaultCleanup := true
238
config.General.DropOldLogs = &defaultCleanup
- }
239
240
241
return true
242
}
0 commit comments