Fix rating
This commit is contained in:
parent
9f9c1064bd
commit
f93d0095f4
|
|
@ -5,9 +5,8 @@ from django.contrib.contenttypes.models import ContentType
|
|||
|
||||
def add_rating(remote_addr, pk, model, app_label):
|
||||
add.apply_async(
|
||||
(remote_addr, pk, model, app_label), countdown=2 # 60 * 60
|
||||
(remote_addr, pk, model, app_label), countdown=60 * 60
|
||||
)
|
||||
# TODO Вернуть интервал
|
||||
|
||||
|
||||
@shared_task
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user