Currently, database connection related exceptions are not handled at all. When mongodb is not available the application hangs until ServerSelectionTimeoutError is thown causing application crash.
Possible solution is to greatly reduce the connection timeout on the REST server side to notify clients of any issues faster. Scheduler should catch connection errors and retry at the later time.
Currently, database connection related exceptions are not handled at all. When mongodb is not available the application hangs until
ServerSelectionTimeoutError
is thown causing application crash. Possible solution is to greatly reduce the connection timeout on the REST server side to notify clients of any issues faster. Scheduler should catch connection errors and retry at the later time.