Fix logcontexts for running pushers
First of all, avoid resetting the logcontext before running the pushers, to fix the "Starting db txn 'get_all_updated_receipts' from sentinel context" warning. Instead, give them their own "background process" logcontexts.
Showing
- synapse/app/pusher.py 2 additions, 2 deletionssynapse/app/pusher.py
- synapse/handlers/federation.py 1 addition, 2 deletionssynapse/handlers/federation.py
- synapse/handlers/message.py 2 additions, 5 deletionssynapse/handlers/message.py
- synapse/handlers/receipts.py 8 additions, 10 deletionssynapse/handlers/receipts.py
- synapse/push/pusherpool.py 15 additions, 2 deletionssynapse/push/pusherpool.py
Loading
Please register or sign in to comment