Fix log line

This commit is contained in:
Shane Kilkelly 2017-05-10 15:16:36 +01:00
parent fd0176c0cf
commit b8e4cafd81

View file

@ -12,8 +12,7 @@ module.exports = CooldownManager =
"Cooldown:{#{projectId}}"
putProjectOnCooldown: (projectId, callback=(err)->) ->
logger.log {projectId},
"[Cooldown] putting project on cooldown for #{COOLDOWN_IN_SECONDS} seconds"
logger.log {projectId}, "[Cooldown] putting project on cooldown for #{COOLDOWN_IN_SECONDS} seconds"
rclient.set(CooldownManager._buildKey(projectId), '1', 'EX', COOLDOWN_IN_SECONDS, callback)
isProjectOnCooldown: (projectId, callback=(err, isOnCooldown)->) ->