Update crawl.go
This commit is contained in:
parent
c71748fc48
commit
b830c693d3
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Reference in a new issue