Commit Graph

46 Commits

Author SHA1 Message Date
Ilan Steemers
bf360a2d95 Initial travis 2015-06-24 15:29:34 +02:00
Ilan Steemers
67180c1984 Initial tests 2015-06-24 15:29:16 +02:00
Ilan Steemers
9d84e8cf49 using PRE_SAVE instead of POST_SAVE signal for hook. 2015-06-24 15:28:47 +02:00
Ilan Steemers
20047a24db Added management command screenshots 2015-06-24 13:14:18 +02:00
Ilan Steemers
2ef5531939 Added management command screenshots 2015-06-24 13:07:50 +02:00
Ilan Steemers
a6e91b0bcf fixed typos etc 2015-06-24 12:49:38 +02:00
Ilan Steemers
e80e33daa0 Updated README 2015-06-24 12:44:14 +02:00
Ilan Steemers
7dea114b18 cleaned imports 2015-06-24 12:39:54 +02:00
Ilan Steemers
a7ab7e9d71 cleaned imports 2015-06-24 12:38:37 +02:00
Ilan Steemers
2237f34e13 Updated README 2015-06-24 12:37:27 +02:00
Ilan Steemers
c91fd0f022 monitor now has a little color and columns 2015-06-24 11:44:47 +02:00
Ilan Steemers
0ed1da8f05 Refactoring to make testing more stable 2015-06-23 21:12:08 +02:00
Ilan Steemers
97a4b27f68 Added rudimentary terminal monitor 2015-06-23 20:54:23 +02:00
Ilan Steemers
8bf25299a9 Added py.test to setup.py 2015-06-21 20:58:23 +02:00
Ilan Steemers
54e518151e Reduced code for stats. Stat now uses Redis pubsub 2015-06-21 16:51:25 +02:00
Ilan Steemers
9f4e4d94e4 Added basic cluster stats
TODO add these to django admin
2015-06-20 15:00:40 +02:00
Ilan Steemers
ed9883470d Separated Cluster and Sentinel into two classes. 2015-06-19 22:24:27 +02:00
Ilan Steemers
45e5187126 Updated README 2015-06-18 18:59:31 +02:00
Ilan Steemers
e6cfdf6a1f Better exit strategy:
-Pusher is stopped
-Poison pills are put on the task queue
-Wait for workers to clear the queue and exit
-Poison pill is put in the result queue
-Main process exits when monitor has finished processing results
2015-06-18 17:55:52 +02:00
Ilan Steemers
bed64c7313 Added re-submit function to Failed Task admin 2015-06-18 17:03:34 +02:00
Ilan Steemers
43e40629d0 Updated README 2015-06-18 16:02:38 +02:00
Ilan Steemers
6a233e63e7 Updated schematic 2015-06-18 15:55:42 +02:00
Ilan Steemers
5adf92eb27 hooks now work
refactored task as dict instead of list for readability.
2015-06-18 15:23:21 +02:00
Ilan Steemers
90b5b0d6ab moved static methods to module functions
medic is now sentinel and runs in it's own process
sentinel shutdown procedure more stable
2015-06-18 14:10:48 +02:00
Ilan Steemers
4faba63d54 Added hook to README 2015-06-18 10:44:23 +02:00
Ilan Steemers
2df5df48cb Merge remote-tracking branch 'origin/master' 2015-06-17 23:50:36 +02:00
Ilan Steemers
69837922b1 Task now accepts a hook function, that will be called with the finished task as the argument. 2015-06-17 23:50:17 +02:00
Ilan Steemers
85f971ae40 Added test task countdown 2015-06-17 23:49:14 +02:00
Ilan Steemers
62bfb7bdc1 Delete testq.py 2015-06-17 21:39:47 +02:00
Ilan Steemers
8b804b56f1 Delete views.py 2015-06-17 21:38:05 +02:00
Ilan Steemers
8d903d51e8 Update setup.py 2015-06-17 19:44:50 +02:00
Ilan Steemers
e70ddfd6cd Update setup.py 2015-06-17 19:43:47 +02:00
Ilan Steemers
2e81ba2858 Added some config settings
Updated README
2015-06-17 19:14:20 +02:00
Ilan Steemers
b28754de93 Added full package signing and compression through Django signing module and JsonPickle 2015-06-17 18:17:48 +02:00
Ilan Steemers
219d05fa8a Updated requirements (for now) 2015-06-17 17:36:14 +02:00
Ilan Steemers
050212e816 Edited README 2015-06-17 17:17:55 +02:00
Ilan Steemers
a4de7f7d2c Added schematic to README 2015-06-17 17:15:48 +02:00
Ilan Steemers
e473665760 Added admin pages for failures and success.
SAVE_LIMIT can now be set to limit the amount of saved tasks results.
2015-06-17 15:32:54 +02:00
Ilan Steemers
727a4d560d migrations 2015-06-17 13:34:10 +02:00
Ilan Steemers
c8d2927dd2 restructured app and added task signing 2015-06-17 13:33:46 +02:00
Ilan Steemers
4ffa0f7054 Adding setup 2015-06-17 13:33:15 +02:00
Ilan Steemers
093431e88d Lots of stuff
- changed to single monitor for success and failures
- result is now in django model
- started addings tests
2015-06-16 19:03:00 +02:00
Ilan Steemers
f095c52e73 - Added logging with coloredlogs (for now)
- Added task model and admin
- Moved pusher into it's own process
2015-06-16 14:58:44 +02:00
Ilan Steemers
317101d821 this is better.
separate workers, failures and success monitors
2015-06-15 20:53:42 +02:00
Ilan Steemers
8c0a26e0b4 Testing basic layout 2015-06-15 16:02:50 +02:00
Ilan Steemers
c74f931930 Initial commit 2015-06-14 14:37:08 +02:00