diff options
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/marabot/main.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/marabot/main.go b/cmd/marabot/main.go index e7fb608..bbf6e65 100644 --- a/cmd/marabot/main.go +++ b/cmd/marabot/main.go @@ -141,6 +141,8 @@ func main() { case <-sc: ln.Log(ctx, ln.Info("shutting down")) cancel() + mr.attachmentPreprocess.Flush() + mr.attachmentUpload.Flush() time.Sleep(150 * time.Millisecond) return } |
