summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2016-02-04 18:09:24 -0800
committerJoshua Harlow <harlowja@yahoo-inc.com>2016-02-05 14:40:25 -0800
commitcea71f27998cfa911044103fcb8fca79b6989717 (patch)
tree57e539cd0f2f7ae517040ef4976cf45ff66def28 /doc
parent61efc31e965b8defac84aa494095fd3734f739eb (diff)
downloadtaskflow-cea71f27998cfa911044103fcb8fca79b6989717.tar.gz
Fix for WBE sporadic timeout of tasks
This fixes the sporadic of tasks that would happen under certain circumstances. What happened was that a new worker notification would be sent to a callback while at the same time a task submission would come in and there would be a small race period where the task would insert itself into the requests cache while the callback was processing. So to work around this the whole concept of a requests cache was revamped and now the WBE executor just maintains its own local dictionary of ongoing requests and accesses it safely. During the on_wait function that is periodically called by kombu the previous expiry of work happens but now any requests that are pending are matched to any new workers that may have appeared. This avoids the race (and ensures that even if a new worker is found but a submission is in progress that the duration until that submission happens will only be until the next on_wait call happens). Related-Bug: #1431097 Change-Id: I98b0caeedc77ab2f7214847763ae1eb0433d4a78
Diffstat (limited to 'doc')
-rw-r--r--doc/source/types.rst5
1 files changed, 0 insertions, 5 deletions
diff --git a/doc/source/types.rst b/doc/source/types.rst
index b27a3fb..cab2254 100644
--- a/doc/source/types.rst
+++ b/doc/source/types.rst
@@ -12,11 +12,6 @@ Types
into *isolated* libraries (as using these types in this manner is not
the expected and/or desired usage).
-Cache
-=====
-
-.. automodule:: taskflow.types.cache
-
Entity
======