JSON RPC compatibility workarounds to support lbry-sdk #75
1 changed files with 0 additions and 4 deletions
|
@ -49,10 +49,6 @@ func interruptListener() <-chan struct{} {
|
||||||
case sig := <-interruptChannel:
|
case sig := <-interruptChannel:
|
||||||
log.Infof("Received signal (%s). Already "+
|
log.Infof("Received signal (%s). Already "+
|
||||||
"shutting down...", sig)
|
"shutting down...", sig)
|
||||||
|
|
||||||
case <-shutdownRequestChannel:
|
|
||||||
log.Info("Shutdown requested. Already " +
|
|
||||||
"shutting down...")
|
|
||||||
}
|
}
|
||||||
|
|||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
Loading…
Reference in a new issue
I think this should actually stay. I identified the issue with the spamming when it's killed, which was using the stop.Ch() as the shutdownRequestChannel, keeping it as a second channel that could be used later on to possibly kill this from the outside still makes sense.