Select correct lang in request, use timeout for request, fix sighandler panic
This commit is contained in:
@@ -24,8 +24,10 @@ func SigHandler() {
|
||||
}
|
||||
|
||||
Shutdown = true
|
||||
|
||||
close(Run)
|
||||
|
||||
// Ensure we exit cleanly after handling the signal
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user