summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAlex Grönholm <alex.gronholm@nextday.fi>2016-06-13 23:26:02 +0300
committerAlex Grönholm <alex.gronholm@nextday.fi>2016-06-13 23:33:47 +0300
commit21aa9a944247f4e05dfc91fc8dfed23b5d2b6d89 (patch)
treebf8bf2f7487704bb15b17a525a93d1c4e4cfa1d4 /docs
parentf4053ec3ffdba47fb5be1afc2731cc9f31bd33ec (diff)
downloadapscheduler-21aa9a944247f4e05dfc91fc8dfed23b5d2b6d89.tar.gz
Fixed endless loop with CronTrigger on computers with low clock resolution
This was triggered by get_next_fire_time() getting called with the same values for "previous_fire_time" and "now". This can occur when the clock returns the same datetime during both _real_add_job() and _process_jobs(). Fixes # 125.
Diffstat (limited to 'docs')
-rw-r--r--docs/versionhistory.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/versionhistory.rst b/docs/versionhistory.rst
index f5915b1..cb4fa00 100644
--- a/docs/versionhistory.rst
+++ b/docs/versionhistory.rst
@@ -20,6 +20,9 @@ APScheduler, see the :doc:`migration section <migration>`.
* Fixed builtin ``id()`` erroneously used in MongoDBJobStore's ``JobLookupError()``
+* Fixed endless loop with CronTrigger that may occur when the computer's clock resolution is too
+ low (thanks to Jinping Bai for the patch)
+
3.1.0
-----