Commit Graph
210 Commits
Author SHA1 Message Date
Ilan 5ccd86a254 v0.5.3 2015-08-19 12:40:29 +02:00
Ilan da5e265333 Updated comment on catch up 2015-08-19 12:39:56 +02:00
Ilan b99e16f108 adds catch_up configuration option
When a cluster hasn't run for a while, the default behavior is to keep executing schedules until they are caught up with the present time.
By setting `catch_up` to False, schedules will not play catch up and instead get rescheduled to the future.
2015-08-18 11:57:15 +02:00
Ilan ac2dc02b4c consolidated redis ping 2015-08-17 14:25:32 +02:00
Ilan 47a92f8e56 added to translations
fixed _ conflict
2015-08-17 12:57:59 +02:00
Ilan 12e9e2035e Version 0.5.2 2015-08-13 19:49:36 +02:00
Ilan 6c37b09151 adds global sync configuration option
Setting the `sync` configuration option will force all async() calls to be run with `sync=True`. Useful for testing.
2015-08-13 18:02:38 +02:00
Ilan 3d12c1d36e adds queue_size()
returns the size of the current redis queue
2015-08-13 15:54:57 +02:00
Ilan 204377228f v0.5.1 2015-08-12 13:46:25 +02:00
Ilan df7f8bbcaf Adds more stats to the qinfo command
* Average execution time
* Tasks per day/hour/minute/second
* Number of schedules
2015-08-12 12:39:14 +02:00
Ilan e86308b434 adds qinfo management command
It seems more practical to give this its own command instead of `qmonitor --info`
2015-08-10 13:20:17 +02:00
Ilan 63030aa9d1 Tests schedule creation via model 2015-08-10 13:18:50 +02:00
Ilan 79393dee16 adds --info summary to monitor command 2015-08-09 19:29:24 +02:00
Ilan c22b98e202 v0.5.0 2015-08-05 21:49:10 +02:00
Ilan de5d0f2725 Adds a 'minutes' option to the scheduler 2015-08-05 20:30:29 +02:00
Ilan 77395acbbb Preparing v0.4.6 2015-08-04 21:45:51 +02:00
Ilan f470fbf975 uses empty() instead of qsize() == 0 2015-08-04 18:30:07 +02:00
Ilan ae8745ab39 Checks if cpu_count is implemented
On rare occasions, usually on win32, cpu_count will raise a NotImplemented error.  If psutil is installed we will use this to get the correct count, otherwise we default to 4
2015-08-04 16:28:19 +02:00
Ilan 25dcec4572 Merge branch 'master' into dev
# Conflicts:
#	docs/monitor.rst
2015-08-04 15:15:45 +02:00
Ilan 4bae1fc99f #40 typo 2015-08-04 12:59:24 +02:00
Ilan af61270f62 #40 qsize not implemented 2015-08-04 12:26:23 +02:00
Ilan b50e2a9006 ready for 0.4.5 2015-08-01 15:55:21 +02:00
Ilan Steemers 8253fbe44a Merge pull request #39 from Koed00/dev
Sets pickle protocol to highest
2015-08-01 03:37:52 -07:00
Ilan ed019634d2 Sets pickle protocol to highest
* package signing protocol is now set to highest. Tests show this to be about a 35% speed increase and there is increased probability of correctly pickling complex objects.

* also upped the protocol on the result database picklefield.
2015-08-01 11:41:45 +02:00
Ilan Steemers 6683e7ac21 Merge pull request #37 from Koed00/dev
fixes save_limit +1
2015-07-31 10:10:44 -07:00
Ilan 9899c42740 * fixes save_limit +1
* adds save_limit test
* expands recycle test
2015-07-31 18:39:54 +02:00
Ilan Steemers 4d3451183b Merge pull request #36 from Koed00/dev
Moves unpacking task from Worker to Pusher
2015-07-31 05:07:55 -07:00
Ilan Steemers f75593aebb Moves unpacking task from Worker to Pusher.
Makes more sense and gives us more options to work with control queues from the pusher in the future. Does not seem to affect performance.
2015-07-31 12:29:10 +02:00
Ilan c244075195 Bumping to 0.4.4 2015-07-27 18:08:32 +02:00
Ilan ba58b4face closes db connection on worker and monitor spawn
This should prevent some problems with Postgresql where the workers would use stale db connections  and cause errors.
2015-07-27 12:31:38 +02:00
Ilan 82bd93d67f docstring linting 2015-07-27 10:45:43 +02:00
Ilan 38829f25c2 adds group filter to admin 2015-07-27 10:45:43 +02:00
Ilan Steemers c350ea13f1 monitor TQ will indicate green when queue_limit has been reached. 2015-07-27 10:45:43 +02:00
Ilan 266a0dbcb1 minor linting 2015-07-24 13:36:51 +02:00
Ilan f77aa54f26 version 0.4.3 2015-07-24 12:22:24 +02:00
Ilan Steemers 510ef6ea30 Merge pull request #32 from Koed00/dev
Adds queue limit and encryption salt
2015-07-24 02:55:27 -07:00
Ilan cf325f8199 queue block is true by default. 2015-07-24 10:52:30 +02:00
Ilan d31e9e2b97 adds a limit to the queue 2015-07-24 01:04:58 +02:00
Ilan ac3d0d2161 use PREFIX as salt 2015-07-24 00:26:40 +02:00
Ilan Steemers f15bc42eb1 Merge pull request #31 from Koed00/dev
adds Haystack example
2015-07-23 06:00:36 -07:00
Ilan f8c9ef1bfa adds short delay in test
On some platforms the cluster is not always ready in time for test assertion
2015-07-23 14:57:00 +02:00
Ilan 2e3e86b0fc new release 0.4.2 2015-07-22 17:30:37 +02:00
Ilan a8b562bc04 some minor linting 2015-07-22 17:13:29 +02:00
Ilan 1a24bb60dd removed old import 2015-07-22 17:03:49 +02:00
Ilan Steemers a26ffbf03b tuning timeout 2015-07-22 14:25:32 +02:00
Ilan f6cbd9817a fix for timeout 2015-07-22 13:11:52 +02:00
Ilan 4ceff55b43 bumping to v0.4.1 2015-07-21 13:02:42 +02:00
Ilan 3ce0048606 adds Stat to root module 2015-07-21 09:50:58 +02:00
Ilan c5b8b800f6 Adds save override option for tasks
Also adds `q_options` dict for async and schedule options
2015-07-20 19:43:27 +02:00
Ilan 5fd436021f Expanding coverage 2015-07-20 12:17:12 +02:00