Application consists of:
- main process (python+sqlalchemy) that periodically check db (sleeps most of the time)
- child processes that write to db
- web app that write to db
Problem is that the main process session doesn't seem to register changes in the db done outside that session. How do ensure it does? (as of now I am closing and reopening the session every time the process awakes and does its check).