lichess-org / lila

♞ lichess.org: the forever free, adless and open source chess server ♞
https://lichess.org
GNU Affero General Public License v3.0
15.62k stars 2.28k forks source link

Keeping the green light on for bots #6721

Closed CatalinFrancu closed 3 years ago

CatalinFrancu commented 4 years ago

I use lichess-bot for my two antichess bots. Things work great with one exception. After some time the green light goes off and the API shows the bots as offline (the key "online":true is missing from the results). Lichess-bot is actually still running, the engines are online and people can play them.

I would like the green light to stay on for two reasons:

  1. It is a clear indication that the bot is online and accepting challenges. Without it, some players might assume the bot is offline.
  2. I monitor my bots with a cron job that fetches that API URL and looks for "online":true. Is there a better way to monitor the connection and be confident that the bots are online?

This is a cross-post from a lichess-bot issue.

Thanks for lichess!

Pablo-No commented 4 years ago

I like this idea, the green indicator would be better if green light means bot on and no light means bot off. Instead showing whether a person operating the bot is (for example) online for making a post in a forum (in my opinion) makes less sense.

ornicar commented 3 years ago

will be deployed soon