In RestRequestCache, there is a lock to prevent concurrent calls to services like github. This lock has a hard coded timeout of 10 minutes and if that ever hits, it calls System.exit(1). I think this is a bit drastic, especially since the intention of this action isn't logged, just printed to stderr.
I think a more appropriate action would be to throw an exception. The exception would then be logged SEVERE automatically by the BotRunner.
Last night the mlbridge bot exited because of this.
I think a more appropriate action would be to throw an exception. The exception would then be logged SEVERE automatically by the BotRunner.
Last night the mlbridge bot exited because of this.