fix timing on those tasks

pull/3/head
lalanza808 5 years ago
parent 9ae4832c2d
commit e3cee7b616

@ -121,7 +121,7 @@ def notify_seller_of_funds_received():
else: else:
return False return False
@periodic_task(crontab(minute='*/1')) @periodic_task(crontab(minute='*/10'))
def pay_sellers_on_sold_items(): def pay_sellers_on_sold_items():
aw = AuctionWallet() aw = AuctionWallet()
if aw.connected is False: if aw.connected is False:
@ -157,7 +157,7 @@ def pay_sellers_on_sold_items():
sale.seller_notified_of_payout = True sale.seller_notified_of_payout = True
sale.save() sale.save()
@periodic_task(crontab(minute='*')) @periodic_task(crontab(hour='*/2'))
def pay_platform_on_sold_items(): def pay_platform_on_sold_items():
aw = AuctionWallet() aw = AuctionWallet()
if aw.connected is False: if aw.connected is False: