Update post/delete cooldown timers.

This commit is contained in:
Mayhem 2013-09-17 09:45:34 +02:00
parent 6f33ee26e1
commit d3654f9079
2 changed files with 4 additions and 4 deletions

View File

@ -84,7 +84,7 @@ DeleteLink =
delete DeleteLink.cooldown.counting delete DeleteLink.cooldown.counting
return return
DeleteLink.cooldown.counting = post DeleteLink.cooldown.counting = post
length = 30 length = 60
seconds = Math.ceil (length * $.SECOND - (Date.now() - post.info.date)) / $.SECOND seconds = Math.ceil (length * $.SECOND - (Date.now() - post.info.date)) / $.SECOND
DeleteLink.cooldown.count post, seconds, length, node DeleteLink.cooldown.count post, seconds, length, node
count: (post, seconds, length, node) -> count: (post, seconds, length, node) ->

View File

@ -233,9 +233,9 @@ QR =
when 'q' then 86400 when 'q' then 86400
when 'b', 'soc', 'r9k' then 600 when 'b', 'soc', 'r9k' then 600
else 300 else 300
sage: if board is 'q' then 600 else 60 sage: if board is 'q' then 600 else 120
file: if board is 'q' then 300 else 30 file: if board is 'q' then 300 else 60
post: if board is 'q' then 150 else 30 post: if board is 'q' then 150 else 60
QR.cooldown.upSpd = 0 QR.cooldown.upSpd = 0
QR.cooldown.upSpdAccuracy = .5 QR.cooldown.upSpdAccuracy = .5
$.get "cooldown.#{board}", {}, (item) -> $.get "cooldown.#{board}", {}, (item) ->