diff --git a/apps/amo/decorators.py b/apps/amo/decorators.py index 4a8e88e499..84b6dcf1a2 100644 --- a/apps/amo/decorators.py +++ b/apps/amo/decorators.py @@ -101,7 +101,8 @@ def set_modified_on(f): for obj in objs: task_log.info('Delaying setting modified on object: %s, %s' % (obj.__class__.__name__, obj.pk)) - set_modified_on_object.delay(obj, - countdown=settings.MODIFIED_DELAY) + set_modified_on_object.apply_async( + args=[obj], kwargs=None, + countdown=settings.MODIFIED_DELAY) return result return wrapper diff --git a/settings.py b/settings.py index dba3ee23de..f5ee0191e2 100644 --- a/settings.py +++ b/settings.py @@ -897,7 +897,7 @@ RESPONSYS_ID = '' FILE_VIEWER_SIZE_LIMIT = 1048576 # How long to delay modify updates to cope with alleged NFS slowness. -MODIFIED_DELAY = 120 +MODIFIED_DELAY = 60 # This is a list of dictionaries that we should generate compat info for. # app: should match amo.FIREFOX.id.