You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is perfomace issue with AsynchronousReceiver. It calls handler via Celery, even if _can_handle() returns False, i.e. when no notification will be created. If _can_handle() is used to filter out a lot of signals sent at once, there is a non-negligible overhead, causing notifications to be created slowly.
A proposed solution is to evaluate result of _can_handle() method inside the receiver, prior to calling handler's handle() method.
The text was updated successfully, but these errors were encountered:
This is perfomace issue with AsynchronousReceiver. It calls handler via Celery, even if
_can_handle()
returns False, i.e. when no notification will be created. If_can_handle()
is used to filter out a lot of signals sent at once, there is a non-negligible overhead, causing notifications to be created slowly.A proposed solution is to evaluate result of
_can_handle()
method inside the receiver, prior to calling handler'shandle()
method.The text was updated successfully, but these errors were encountered: