Menu

#29 Suggestion to avoid games not processing

open
nobody
None
5
2010-10-20
2010-10-20
Anonymous
No

I do not know the exact implementation that webDip uses to process the games, but my guess is that it is a PHP batch script invoked by cron? I am guessing that if a game process has a fatal error, it holds up the entire queue?

If that's the case, can you do the following: 1) Create a separate process for each game process, so if it dies, the main queuing program can recover. 2) If a game fails to process, skip it and alert an admin.

This way, not every single game is held up by one error.

By the way, unit test coverage would also help.

Bezborodov
http://webdiplomacy.net/profile.php?userID=20356

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.