Sidan "Task Queueing"
kommer tas bort. Se till att du är säker.
Tasks is a MongoDB collection.
A task will include keys relevant to game logic:
And also keys relevant to the task management system:
Where a task's timeout has been exceeded (calculated by claimed_at + timeout), the task should be released on behalf of the bot so it can be picked up by another. This will be done via the master program sending a termination singal to the bot, which will unlock the task and restart itself. This might require use of the network.
Sidan "Task Queueing"
kommer tas bort. Se till att du är säker.