mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-11-13 00:24:17 +00:00
Adjust voting time for gather
This commit is contained in:
parent
78edb9c4c9
commit
8d31bb902f
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
document.documentElement.addEventListener(click, kickoff, true);
|
||||
},
|
||||
loop: false,
|
||||
volume: 0.45,
|
||||
volume: 0.4,
|
||||
swfPath: "/flash"
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue