Permalink
Browse files

Revert countdown behavior until Celery is fixed

  • Loading branch information...
1 parent b295803 commit dd4b6dc19ac522f126d99506feb82fc3e0367ffb @dcramer dcramer committed May 12, 2012
Showing with 4 additions and 4 deletions.
  1. +1 −1 sentry/buffer/base.py
  2. +1 −1 setup.py
  3. +1 −1 tests/sentry/buffer/base/tests.py
  4. +1 −1 tests/sentry/buffer/redis/tests.py
View
@@ -36,7 +36,7 @@ def incr(self, model, columns, filters, extra=None):
'columns': columns,
'filters': filters,
'extra': extra,
- }, countdown=5)
+ })
def process(self, model, columns, filters, extra=None):
update_kwargs = dict((c, F(c) + v) for c, v in columns.iteritems())
View
@@ -64,7 +64,7 @@
setup(
name='sentry',
- version='4.2.4',
+ version='4.2.5',
author='David Cramer',
author_email='dcramer@gmail.com',
url='http://github.com/dcramer/sentry',
@@ -22,7 +22,7 @@ def test_incr_delays_task(self, maybe_async):
filters = {'pk': 1}
self.buf.incr(model, columns, filters)
kwargs = dict(model=model, columns=columns, filters=filters, extra=None)
- maybe_async.assert_called_once_with(process_incr, kwargs=kwargs, countdown=5)
+ maybe_async.assert_called_once_with(process_incr, kwargs=kwargs)
def test_process_saves_data(self):
group = Group.objects.create(project=Project(id=1))
@@ -45,7 +45,7 @@ def test_incr_delays_task(self, maybe_async):
filters = {'pk': 1}
self.buf.incr(model, columns, filters)
kwargs = dict(model=model, columns=columns, filters=filters, extra=None)
- maybe_async.assert_called_once_with(process_incr, kwargs=kwargs, countdown=5)
+ maybe_async.assert_called_once_with(process_incr, kwargs=kwargs)
@mock.patch('sentry.buffer.redis.RedisBuffer._make_extra_key', mock.Mock(return_value='extra'))
@mock.patch('sentry.buffer.redis.RedisBuffer._make_key', mock.Mock(return_value='foo'))

0 comments on commit dd4b6dc

Please sign in to comment.