Skip to content

Commit da7bda6

Browse files
committed
Revert "remove sleep"
This reverts commit 7997b33.
1 parent 9599705 commit da7bda6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/crowdsec/serve.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ func ShutdownCrowdsecRoutines(cancel context.CancelFunc) error {
110110
log.Debugf("buckets is done")
111111
log.Debugf("metrics are done")
112112

113-
// XXX: time.Sleep(1 * time.Second) // ugly workaround for now
113+
time.Sleep(1 * time.Second) // ugly workaround for now
114114
outputsTomb.Kill(nil)
115115

116116
done := make(chan error, 1)

0 commit comments

Comments
 (0)