this generates just too much data
This commit is contained in:
Родитель
1a5fe98555
Коммит
f7ea92d783
|
@ -15,7 +15,6 @@ import logging
|
|||
from django.dispatch.dispatcher import Signal, _make_id
|
||||
from django.conf import settings
|
||||
|
||||
from django_statsd.clients import statsd
|
||||
|
||||
log = logging.getLogger('signals')
|
||||
|
||||
|
@ -31,8 +30,7 @@ def safe_send(self, sender, **named):
|
|||
# Return a list of tuple pairs [(receiver, response), ... ].
|
||||
for receiver in self._live_receivers(_make_id(sender)):
|
||||
try:
|
||||
with statsd.timer('signal.send'):
|
||||
response = receiver(signal=self, sender=sender, **named)
|
||||
response = receiver(signal=self, sender=sender, **named)
|
||||
except Exception, err:
|
||||
if do_raise:
|
||||
raise
|
||||
|
|
Загрузка…
Ссылка в новой задаче