Add debug logs around exiting goroutines
I'm debugging our clean shutdown
This commit is contained in:
parent
4a214b099e
commit
0b005c3e76
3 changed files with 7 additions and 1 deletions
|
|
@ -136,9 +136,10 @@ func refreshFieldseekerData(background_ctx context.Context, newOauthCh <-chan st
|
|||
|
||||
select {
|
||||
case <-ctx.Done():
|
||||
log.Info().Msg("Exiting refresh worker...")
|
||||
log.Debug().Msg("Exiting arcgis refresh worker...")
|
||||
cancel()
|
||||
wg.Wait()
|
||||
log.Debug().Msg("arcgis refresh worker exited.")
|
||||
return
|
||||
case <-newOauthCh:
|
||||
log.Info().Msg("Updating oauth background work")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue