Adjust voting time for gather

This commit is contained in:
Ari Timonen 2020-05-10 17:15:47 +03:00
parent 78edb9c4c9
commit 8d31bb902f
2 changed files with 3 additions and 3 deletions

View file

@ -157,8 +157,8 @@ class Gather < ActiveRecord::Base
def refresh cuser def refresh cuser
if status == STATE_RUNNING if status == STATE_RUNNING
gatherers.idle.destroy_all gatherers.idle.destroy_all
elsif status == STATE_VOTING and updated_at < 60.seconds.ago and updated_at > 5.days.ago elsif status == STATE_VOTING and updated_at < 80.seconds.ago and updated_at > 5.days.ago
if status == STATE_VOTING and updated_at < 60.seconds.ago if status == STATE_VOTING and updated_at < 80.seconds.ago
self.status = STATE_PICKING self.status = STATE_PICKING
save! save!
end end

View file

@ -50,7 +50,7 @@
document.documentElement.addEventListener(click, kickoff, true); document.documentElement.addEventListener(click, kickoff, true);
}, },
loop: false, loop: false,
volume: 0.45, volume: 0.4,
swfPath: "/flash" swfPath: "/flash"
}); });