Bases: exceptions.Exception
Converts Julian timestamp, in seconds, to a UNIX timestamp.
Handles sqlalchemy DisconnectionError
When sqlalchemy detects a disconnect from the database server, it retries a number of times. After failing that number of times, it will convert the internal DisconnectionError into an InvalidRequestError. This decorator handles that error.
Creates a stat document based on a message.