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
if status == STATE_RUNNING
gatherers.idle.destroy_all
elsif status == STATE_VOTING and updated_at < 60.seconds.ago and updated_at > 5.days.ago
if status == STATE_VOTING and updated_at < 60.seconds.ago
elsif status == STATE_VOTING and updated_at < 80.seconds.ago and updated_at > 5.days.ago
if status == STATE_VOTING and updated_at < 80.seconds.ago
self.status = STATE_PICKING
save!
end

View file

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