Now you need to use get_db_session() every time you need to work with the db. It automatically creates a new session for each thread you're in.
Fixed the issue of a job running multiple times because of lambda connection timeout and restart by not waiting for task to execute when getting requests from "scheduling lambda".
Fixed the security breach of sockets. Now we only send socket events to the user that should receive those events, not to everybody.
get_db_session()
every time you need to work with the db. It automatically creates a new session for each thread you're in.