evennia/evennia/utils
davewiththenicehat fea077d555 task handler automatic stale task cleanup
Task handler will automatically remove uncalled but canceled from task handler. By default this will not occur until a canceled task has been uncalled for 60 second after the time it should have been called. To adjust this time use TASK_HANDLER.stale_timeout. If stale_timeout is 0 stale tasks will not be automatically removed.
This is not done on a timer. I is done as new tasks are added or the load method is called.

Added unit tests to test automatic removal. Including when it should not automatically removed. Both when it is too soon, or when the stale_timeout attribute is set to 0.
2021-04-19 09:37:19 -04:00
..
idmapper Make scripts/objects lists use EvMore. Change EvMore to not justify by default. 2020-01-11 15:49:12 +01:00
tests task handler automatic stale task cleanup 2021-04-19 09:37:19 -04:00
__init__.py Run 2to3. 2017-10-29 13:40:30 -04:00
ansi.py More fixes 2021-02-27 14:13:42 +01:00
batchprocessors.py Update docstrings to pass autodoc parsing 2020-10-11 17:15:30 +02:00
containers.py Make scripts/objects lists use EvMore. Change EvMore to not justify by default. 2020-01-11 15:49:12 +01:00
create.py More fixes 2021-02-27 14:13:42 +01:00
dbserialize.py Optimize _Saverdict.update that caused issues for webclient option update (#2224) 2020-11-01 11:19:14 +01:00
eveditor.py Merge pull request #2292 from tim-chaplin/command_class 2021-01-18 21:35:23 +01:00
evennia-mode.el Further reworking, naming the library folder 'evennia' instead of lib or src. 2015-01-07 13:36:57 +01:00
evform.py Fix ANSIString parsing on partial slice from start/end of string. Resolve #2205. 2020-10-26 21:45:14 +01:00
evmenu.py Ran black on sources 2020-10-21 21:11:04 +02:00
evmore.py Update docstrings to pass autodoc parsing 2020-10-11 17:15:30 +02:00
evtable.py Update docstrings to pass autodoc parsing 2020-10-11 17:15:30 +02:00
gametime.py More fixes 2021-02-27 14:13:42 +01:00
inlinefuncs.py Fixed all links 2020-10-11 19:31:05 +02:00
logger.py Minor fix for logging 2020-11-13 22:52:50 +01:00
optionclasses.py Update docstrings to pass autodoc parsing 2020-10-11 17:15:30 +02:00
optionhandler.py Make options accept default kwarg, add new raise_exception. Fix datetime validatorfunc accoring to spec. Resolves #1967. 2020-01-20 23:20:05 +01:00
picklefield.py Run black on sources; add black config 2020-07-27 21:12:06 +02:00
search.py Fix additional things needed for stand-alone import of evennia lib 2021-02-27 14:12:39 +01:00
test_resources.py Update docstrings to pass autodoc parsing 2020-10-11 17:15:30 +02:00
text2html.py Fix profunc parse and html tabs. Resolve #2246 2020-11-11 00:41:58 +01:00
utils.py taskhandler verified do_task causes errors if called manually (early) 2021-04-13 17:01:55 -04:00
validatorfuncs.py Update docstrings to pass autodoc parsing 2020-10-11 17:15:30 +02:00