You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by jo...@apache.org on 2013/02/11 19:45:55 UTC

[1/2] git commit: [#5705] Because Dave wanted to save the 1ms

[#5705] Because Dave wanted to save the 1ms


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/2ee14f66
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/2ee14f66
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/2ee14f66

Branch: refs/heads/master
Commit: 2ee14f666948ce140173a60bcd44372c26fd6103
Parents: ccec7e6
Author: Tim Van Steenburgh <tv...@gmail.com>
Authored: Fri Feb 8 22:22:41 2013 +0000
Committer: Cory Johns <jo...@geek.net>
Committed: Mon Feb 11 18:45:35 2013 +0000

----------------------------------------------------------------------
 Allura/allura/model/monq_model.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/2ee14f66/Allura/allura/model/monq_model.py
----------------------------------------------------------------------
diff --git a/Allura/allura/model/monq_model.py b/Allura/allura/model/monq_model.py
index 3ec5e77..02852b0 100644
--- a/Allura/allura/model/monq_model.py
+++ b/Allura/allura/model/monq_model.py
@@ -166,7 +166,7 @@ class MonQTask(MappedClass):
         while True:
             try:
                 query = dict(state=state)
-                query['time_queue'] = {'$lt': datetime.utcnow()}
+                query['time_queue'] = {'$lte': datetime.utcnow()}
                 if only:
                     query['task_name'] = {'$in': only}
                 obj = cls.query.find_and_modify(