diff options
| author | Rasmus Dahlberg <rasmus@rgdd.se> | 2023-04-02 15:21:32 +0200 |
|---|---|---|
| committer | Rasmus Dahlberg <rasmus@rgdd.se> | 2023-04-02 15:21:32 +0200 |
| commit | c400633603edea63ee4dbb2946aa8e343d3ec7a4 (patch) | |
| tree | 792b0575756591af5e5f32d13676dcd2863b7de2 | |
| parent | 5422dbde1e07f341515fa9b70ee5e1a25c200418 (diff) | |
Print maximum shutdown time
| -rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -146,7 +146,7 @@ func workReceiver(ctx context.Context, opts options.Options, answerCh chan qna.A for { select { case <-ctx.Done(): - log.Printf("INFO: about to exit, reading remaining answers\n") + log.Printf("INFO: about to exit in at most %v, reading remaining answers\n", 2*opts.Timeout+time.Second) for { select { case a := <-answerCh: |
