Skip to content

Smarter bot calls to the main server

Context

At the moment, we just poll the server every N seconds. This is not efficient.

Potentially, we could have a request for work and allow the bot to wait a longer time for a response. The server could then load leases onto the bot when the work arrives, rather than waiting for a bot to call Update when there is already work to do. There could then be a more regular heart beat whilst execution is happening.

Task Description

  • Discuss architecture
  • Implement smarter bot calls