Jannes Höke
31073101a3
yapf
2016-06-24 19:22:49 +02:00
Noam Meltzer
1e0ebe89f3
JobQueue: minimize the amount of places changing self.__tick state
...
- start the jobqueue (by default) during __init__() instead of during
put()
- protect self._next_peek and self.__tick with a Lock
- rename self._start() to self._main_loop()
- stop() is now blocking until the event loop thread exits
2016-06-24 19:35:54 +03:00
Noam Meltzer
f65b6911ea
JobQueue: use class name for the logger name
2016-06-24 19:13:40 +03:00
Noam Meltzer
02af1ea803
jobqueue: cosmetic fixes
2016-06-24 19:13:40 +03:00
Jannes Höke
406303d6bb
refactor: running -> _running, next_peek -> _next_peek
2016-05-28 13:48:30 +02:00
Jannes Höke
2534e0df9b
allow jobs to be ran outside of jobqueue
2016-05-28 13:41:23 +02:00
Jannes Höke
41daccce07
minor comments and formatting
2016-05-26 14:02:52 +02:00
Jannes Höke
786216305c
Add context parameter in Job class #281
2016-05-26 13:55:56 +02:00
Jannes Höke
b3142d2974
yapf
2016-05-25 23:57:29 +02:00
Jannes Höke
3aedd78e29
make job queue API similar to the dispatcher, add new functionality
2016-05-25 23:36:41 +02:00
Leandro Toledo
d445d35ceb
Running yapf for codebase #259
2016-05-14 22:46:40 -03:00
Noam Meltzer
8a087dce69
import queue
(like in py3) directly
...
future module takes care of adding the `queue` package to py2
2016-04-26 17:47:37 +03:00
Leandro Toledo
1e4ae6546f
Changing INFO logs to DEBUG and minor fixes
2016-03-14 22:56:20 -03:00
Rahiel Kasim
98112d3987
move Updater and friends to ext submodule
2016-03-14 14:50:12 +01:00