Update crawl.go

This commit is contained in:
akp 2023-11-04 21:56:29 +00:00
parent c71748fc48
commit b830c693d3
No known key found for this signature in database
GPG key ID: CF8D58F3DEB20755

View file

@ -16,6 +16,7 @@ import (
"net/http"
"net/url"
"os"
"os/signal"
"path"
"slices"
"strings"
@ -91,6 +92,7 @@ mainLoop:
}
slog.Info("Gracefully shutting down")
signal.Stop(stop)
return nil
}