Skip to content

Commit

Permalink
Merge pull request #166 from UnitapApp/fix/prizetap-auto-tasks
Browse files Browse the repository at this point in the history
Update prizetap according to last contract changes
  • Loading branch information
ShayanShiravani authored Oct 28, 2023
2 parents 85cb263 + 931dde2 commit f124c13
Show file tree
Hide file tree
Showing 9 changed files with 1,379 additions and 4,335 deletions.
29 changes: 8 additions & 21 deletions brightIDfaucet/celery.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,34 +38,21 @@
"task": "faucet.tasks.update_tokentap_claim_for_verified_lightning_claims",
"schedule": 9,
},
'update-tokens-price': {
"update-tokens-price": {
"task": "faucet.tasks.update_tokens_price",
"schedule": 600,
},
'update-donation-receipt-status': {
"update-donation-receipt-status": {
"task": "faucet.tasks.update_donation_receipt_pending_status",
"schedule": 180,
},
"draw-prizetap-raffles": {
"task": "prizetap.tasks.draw_the_expired_raffles",
"schedule": 300
},
"set-raffle-winner": {
"task": "prizetap.tasks.set_the_winner_of_raffles",
"schedule": 300
},
"request-random-words-for-linea-raffles": {
"task": "prizetap.tasks.request_random_words_for_expired_linea_raffles",
"schedule": 150
},
"draw-linea-raffles": {
"task": "prizetap.tasks.draw_expired_linea_raffles",
"schedule": 60
"request-random-words-for-raffles": {
"task": "prizetap.tasks.request_random_words_for_expired_raffles",
"schedule": 120,
},
"set-linea-raffle-winners": {
"task": "prizetap.tasks.set_the_winner_of_linea_raffles",
"schedule": 60
}
"set-raffle-random-words": {"task": "prizetap.tasks.set_raffle_random_words", "schedule": 120},
"set-raffle-winners": {"task": "prizetap.tasks.set_raffle_winners", "schedule": 300},
"get-raffle-winners": {"task": "prizetap.tasks.get_raffle_winners", "schedule": 300},
}

# Load task modules from all registered Django apps.
Expand Down
Loading

0 comments on commit f124c13

Please sign in to comment.