Run things as background processes
This fixes #3518, and ensures that we get useful logs and metrics for lots of things that happen in the background. (There are certainly more things that happen in the background; these are just the common ones I've found running a single-process synapse locally).
Showing
- synapse/federation/transaction_queue.py 6 additions, 9 deletionssynapse/federation/transaction_queue.py
- synapse/storage/background_updates.py 8 additions, 2 deletionssynapse/storage/background_updates.py
- synapse/storage/client_ips.py 11 additions, 4 deletionssynapse/storage/client_ips.py
- synapse/storage/events.py 4 additions, 6 deletionssynapse/storage/events.py
- synapse/storage/events_worker.py 6 additions, 4 deletionssynapse/storage/events_worker.py
- synapse/util/caches/expiringcache.py 5 additions, 1 deletionsynapse/util/caches/expiringcache.py
- synapse/util/distributor.py 4 additions, 0 deletionssynapse/util/distributor.py
Loading
Please register or sign in to comment