lichess-org / api

Lichess API documentation and examples
https://lichess.org/api
GNU Affero General Public License v3.0
435 stars 145 forks source link

Update min/max seconds for add-time #364

Closed tors42 closed 2 months ago

tors42 commented 2 months ago

min 1 -> 5 max 86400 -> 60

Trying to give 1 second results in 5 seconds. Trying to give 86400 results in 60 seconds.

(Which corresponds to what can be found in https://github.com/lichess-org/lila/blob/8dec1e4c8223483b29e95638ceed56365dbd4a66/modules/round/src/main/Moretimer.scala#L16-L17

 private val minTime = 5.seconds
 private val maxTime = 60.seconds

)