Fix linter errors from netquery implementation

This commit is contained in:
Daniel
2022-07-22 14:25:16 +02:00
parent 1889c68d27
commit 90d30c14a5
16 changed files with 163 additions and 132 deletions

View File

@@ -11,8 +11,11 @@ import (
)
const (
cleanerTickDuration = 5 * time.Second
// DeleteConnsAfterEndedThreshold defines the amount of time after which
// ended connections should be removed from the internal connection state.
DeleteConnsAfterEndedThreshold = 10 * time.Minute
cleanerTickDuration = 5 * time.Second
)
func connectionCleaner(ctx context.Context) error {