Heiaha / asyncLio-bot

A bridge between UCI chess engines and Lichess.
GNU Affero General Public License v3.0
5 stars 1 forks source link

time losses #21

Closed lucasart closed 5 months ago

lucasart commented 5 months ago

Having problems after updating from GitHub:

Note that I run 3 bots in parallel, each running up to 4 concurrent games. Tried disabling concurrency 1 with d7ddd2f, still frequent time losses.

Heiaha commented 5 months ago

Hi, not sure exactly what could be causing the hanging. When you updated, did you also update your config file to include the "max_rating_diffs" section from here?

lucasart commented 5 months ago

I've reduced the problem to a single patch: a6ef1ca

And then verified by moving to the top of master branch, and reverting the patch from there, all is good.

This means that it's httpx 0.27 that causes the problem. At least on my setup: Termux on Android.

Edit: spoke too soon. The undeterministic nature of the problem makes it hard to bissect. Nothing useful in the logs, the engine seems to just lose on time without ever having been asked by the interface to do anything. Just after book moves are played.

lucasart commented 5 months ago

Ok. Seems fine now with the master branch as is. Not sure what I did wrong before, but suspect this venv update process that I'm not familiar with.