]> iEval git - fonbot.git/commit
Make ExecutableRunnable usable
authorMarius Gavrilescu <marius@ieval.ro>
Sat, 23 Mar 2013 11:54:39 +0000 (13:54 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Sat, 23 Mar 2013 11:54:39 +0000 (13:54 +0200)
commite154bdfd76071b99635317ef8c7ab11918b88794
tree0cb732e79d9f03d189e41c9c40969ea0111bb5b8
parentd5819b37350dc3f123c817fad55cdbad0c9c1c95
Make ExecutableRunnable usable

First of all, the retry mechanism did not work at all until now (if a task was retried ExecutableRunnable would stack overflow).

Secondly, ExecutableRunnable now prevents retryTasks from being called too frequently. If it detects that retryTasks was called twice in 30 seconds, it reschedules the call 30 seconds later.
src/ro/ieval/fonbot/ExecutableRunnable.java
This page took 0.01847 seconds and 4 git commands to generate.