Mise à jour effectuée, merci de nous signaler tout dysfonctionnement ! | Upgrade done, please let us know about any dysfunction!

Commit d586e595 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[fix] Ban mechanism was broken confusion between milliseconds and seconds

parent 07ca679b
......@@ -99,7 +99,7 @@ export class WS2PServerMessageHandler implements WS2PMessageHandler {
this.errors[documentHash].pubkeys[c.pubkey] = true
setTimeout(() => {
delete this.errors[documentHash]
}, WS2PConstants.ERROR_RECALL_DURATION_IN_SECONDS)
}, 1000 * WS2PConstants.ERROR_RECALL_DURATION_IN_SECONDS)
}
this.server.logger.warn(e)
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment