From e3cee7b6168fc160e09cddf41a476304f5999e3a Mon Sep 17 00:00:00 2001 From: lalanza808 Date: Fri, 10 Jan 2020 10:40:56 -0800 Subject: [PATCH] fix timing on those tasks --- sales/tasks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sales/tasks.py b/sales/tasks.py index a886ff5..2e9dd32 100644 --- a/sales/tasks.py +++ b/sales/tasks.py @@ -121,7 +121,7 @@ def notify_seller_of_funds_received(): else: return False -@periodic_task(crontab(minute='*/1')) +@periodic_task(crontab(minute='*/10')) def pay_sellers_on_sold_items(): aw = AuctionWallet() if aw.connected is False: @@ -157,7 +157,7 @@ def pay_sellers_on_sold_items(): sale.seller_notified_of_payout = True sale.save() -@periodic_task(crontab(minute='*')) +@periodic_task(crontab(hour='*/2')) def pay_platform_on_sold_items(): aw = AuctionWallet() if aw.connected is False: