Decrease wait time to 1hr
This commit is contained in:
parent
09d4286b56
commit
11247d0406
|
@ -56,8 +56,8 @@ def index(request):
|
|||
|
||||
# TODO: keep track of sessions as well, track one per session?
|
||||
|
||||
if timesince < (60*60*12):
|
||||
msg = "Sorry, you received a payout too recently. Come back later."
|
||||
if timesince < (60*60):
|
||||
msg = "Sorry, you received a payout too recently. Come back in an hour."
|
||||
return render(request, 'faucet/faucet.html', {'version':version,'balance':balance,'difficulty':difficulty,'height':height, 'payouts':payouts, 'flash':True, 'message':msg})
|
||||
|
||||
except (Drip.DoesNotExist, IndexError) as e:
|
||||
|
|
Loading…
Reference in New Issue