mirror of
https://github.com/aljazceru/crawler_v2.git
synced 2025-12-17 07:24:21 +01:00
added startup and shutdown separators
This commit is contained in:
@@ -30,6 +30,9 @@ func main() {
|
|||||||
defer cancel()
|
defer cancel()
|
||||||
go pipe.HandleSignals(cancel)
|
go pipe.HandleSignals(cancel)
|
||||||
|
|
||||||
|
log.Printf("---------starting up the crawler --------")
|
||||||
|
defer log.Printf("-----------------------------------------")
|
||||||
|
|
||||||
config, err := config.Load()
|
config, err := config.Load()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
|
|||||||
@@ -29,6 +29,9 @@ func main() {
|
|||||||
defer cancel()
|
defer cancel()
|
||||||
go pipe.HandleSignals(cancel)
|
go pipe.HandleSignals(cancel)
|
||||||
|
|
||||||
|
log.Printf("---------starting up the crawler --------")
|
||||||
|
defer log.Printf("-----------------------------------------")
|
||||||
|
|
||||||
config, err := config.Load()
|
config, err := config.Load()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
|
|||||||
Reference in New Issue
Block a user