relax lobby socket rate limitation a bit
This commit is contained in:
parent
b3f70cb2f0
commit
bddd3318eb
|
@ -44,7 +44,7 @@ object Lobby extends LilaController {
|
||||||
private val socketConsumer = lila.api.TokenBucket.create(
|
private val socketConsumer = lila.api.TokenBucket.create(
|
||||||
system = lila.common.PlayApp.system,
|
system = lila.common.PlayApp.system,
|
||||||
size = 10,
|
size = 10,
|
||||||
rate = 5)
|
rate = 6)
|
||||||
|
|
||||||
def socket(apiVersion: Int) = SocketOptionLimited[JsValue](socketConsumer, "lobby") { implicit ctx =>
|
def socket(apiVersion: Int) = SocketOptionLimited[JsValue](socketConsumer, "lobby") { implicit ctx =>
|
||||||
get("sri") ?? { uid =>
|
get("sri") ?? { uid =>
|
||||||
|
|
Loading…
Reference in a new issue