hasjob
hasjob copied to clipboard
Update event session active_at in periodic job
trafficstars
Building on #318, the EventSession.active_at flag should be pushed into a dirty pool (a dict/hashmap object) that is set by the periodic job runner. Setting it from the main runloop causes unnecessary database writes and flushes SQLAlchemy's session cache.
PR pending in #340.