The event persistence code used to handle multiple rooms at a time, but was simplified to only ever be called with a single room at a time (different rooms are now handled in parallel). The code is still generic to multiple rooms causing a lot of work that is unnecessary (e.g. unnecessary loops, and partitioning data by room). This strips out the ability to handle multiple rooms at once, greatly simplifying the code. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| persist_events.py | ||
| purge_events.py | ||
| state.py | ||
| stats.py | ||