Fix rating

This commit is contained in:
Виктор Гладких 2019-10-04 15:40:18 +03:00
parent 9f9c1064bd
commit f93d0095f4

View File

@ -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