doc/changes/changelog.rst
author Denis Laxalde <denis.laxalde@logilab.fr>
Mon, 06 Mar 2017 13:21:50 +0100
changeset 12011 d2888fee6031
parent 11951 330f240435b0
child 12286 90ab73afe766
permissions -rw-r--r--
[server] introduce a scheduler class to run repository "looping tasks" We just use the sched module from the standard library and introduce a tiny Python2/3 compatibility layer (more for convenience actually). The "looping" aspect of tasks (previously in LoopTask class) is re-implemeted as a `schedule_periodic_task` function. This is a reasonably thin layer as compared to LoopTask/TasksManager classes. Only the "restart" aspect of LoopTask is no longer present as I'm not sure it's worth keeping. The advantage of using this (in addition to eventually dropping our custom code) is that this scheduler class provides a `run` method that blocks the process while running tasks in its queue. So we can rely on this to have a 'scheduler' ctl command (see forthcoming patch) that would only run "looping tasks" without having to implement the "blocking" aspect ourself. Related to #17057223.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10503
209738650200 [doc] make the changelog chapter a one html page
David Douard <david.douard@logilab.fr>
parents:
diff changeset
     1
===================
209738650200 [doc] make the changelog chapter a one html page
David Douard <david.douard@logilab.fr>
parents:
diff changeset
     2
 Changelog history
209738650200 [doc] make the changelog chapter a one html page
David Douard <david.douard@logilab.fr>
parents:
diff changeset
     3
===================
209738650200 [doc] make the changelog chapter a one html page
David Douard <david.douard@logilab.fr>
parents:
diff changeset
     4
11951
330f240435b0 [doc] Add 3.25 release notes
Philippe Pepiot <philippe.pepiot@logilab.fr>
parents: 11844
diff changeset
     5
.. include:: 3.25.rst
11844
8fb3ab72d7a9 [doc] Add 3.24 release date and reference in index pages
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 11391
diff changeset
     6
.. include:: 3.24.rst
11391
9294fa5bc336 [doc] Reference 3.23 page in changelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 10927
diff changeset
     7
.. include:: 3.23.rst
10927
41341b5a1f49 [doc] add 3.22 changelog
Julien Cristau <julien.cristau@logilab.fr>
parents: 10503
diff changeset
     8
.. include:: 3.22.rst
10503
209738650200 [doc] make the changelog chapter a one html page
David Douard <david.douard@logilab.fr>
parents:
diff changeset
     9
.. include:: 3.21.rst
209738650200 [doc] make the changelog chapter a one html page
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    10
.. include:: 3.20.rst
209738650200 [doc] make the changelog chapter a one html page
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    11
.. include:: 3.19.rst
209738650200 [doc] make the changelog chapter a one html page
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    12
.. include:: 3.18.rst
209738650200 [doc] make the changelog chapter a one html page
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    13
.. include:: 3.17.rst
209738650200 [doc] make the changelog chapter a one html page
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    14
.. include:: 3.16.rst
209738650200 [doc] make the changelog chapter a one html page
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    15
.. include:: 3.15.rst
209738650200 [doc] make the changelog chapter a one html page
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    16
.. include:: 3.14.rst