produce and store fewer captchas

pull/4785/head
Thibault Duplessis 2018-12-14 11:01:34 +08:00
parent a85ef9cfaf
commit 8844524709
2 changed files with 2 additions and 2 deletions

View File

@ -355,7 +355,7 @@ game {
}
captcher {
name = captcher
duration = 7 seconds
duration = 15 seconds
}
net.base_url = ${net.base_url}
uci_memo.ttl = 3 minutes

View File

@ -43,7 +43,7 @@ private final class Captcher extends Actor {
// Private stuff
private val capacity = 512
private val capacity = 256
private var challenges: NonEmptyList[Captcha] = NonEmptyList(Captcha.default)
private def add(c: Captcha): Unit = {