mirror of
https://github.com/ENSL/ensl.org.git
synced 2025-01-12 12:50:53 +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
|
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
|
||||||
|
|
|
@ -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"
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue