Commit Graph

145 Commits

Author SHA1 Message Date
Jesús García Crespo
adbe320074 Remove handle only when the job is done
This commit stops the client from removing the job handle from
client.jobhandlers when the worker has sent an update (e.g. WORK_STATUS)
without terminating its life.

WORK_DATA       |
WORK_WARNING    | => Notification
WORK_STATUS     |

WORK_COMPLETE   |
WORK_FAIL       | => Notification + End of life
WORK_EXCEPTION  |
2013-11-09 10:06:11 -08:00
Xing Xing
2002bb1804 fixed bson/ObjectId 2013-08-07 15:30:41 +08:00
mikespook
e7d32edee0 fixed for travis-ci 2013-06-09 12:46:47 +08:00
mikespook
5259aece7e gearmand must be installed 2013-06-09 12:41:59 +08:00
mikespook
5c6d94f385 fixed for travis-ci 2013-06-09 12:35:35 +08:00
mikespook
b97ccd007c added travis-ci 2013-06-09 12:31:25 +08:00
mikespook
8e009be940 #14 fixed 2013-04-24 16:58:06 +08:00
Xing
2107c9b883 Merge pull request #15 from paulmach/master
Update and Receive status correctly
2013-04-23 19:04:37 -07:00
Paul Mach
f3b4013e2b Update and Receive status correctly 2013-04-23 11:45:57 -07:00
Xing Xing
011c3253f7 issue 'use of closed network connection' of client fixed 2013-04-23 21:41:56 +08:00
mikespook
6582ef79a5 tweaking 2013-04-23 17:52:20 +08:00
mikespook
568c70b083 #12 fixed 2013-04-23 16:58:06 +08:00
Xing Xing
89ef28fb9b tweaking 2013-04-11 20:16:41 +08:00
mikespook
f9447f9fc6 add testing cases for both client and worker; #4, #8 closed 2013-04-11 13:28:00 +08:00
Xing
1591d0521b Merge pull request #11 from miraclesu/close_friendly
Close friendly
2013-04-02 23:35:00 -07:00
miraclesu
9549d98a7c Close friendly 2013-03-26 17:22:07 +08:00
mikespook
7a8a5d4a6a for issue #10; an IdGenerator interface, use bson.ObjectId as default 2013-02-28 13:28:48 +08:00
Xing
faa0ca07ee Merge pull request #9 from nightlyone/do-bg-no-id
do not generate unique id on background job submission
2013-02-19 06:16:03 -08:00
Ingo Oeser
af4035284d do not generate unique id on background submission 2013-02-18 19:50:14 +01:00
Xing Xing
6619b9a10e move the auto-inc into the global 2013-02-03 21:34:13 +08:00
mikespook
962846c2f7 pooling finished 2013-01-25 15:16:11 +08:00
mikespook
af05460727 fixed the infinite loop of client 2013-01-24 18:13:02 +08:00
mikespook
16a965f52d An infinite loop ... :( 2013-01-23 17:25:38 +08:00
mikespook
f7a84a6587 pool's syntax error fixed 2013-01-18 17:03:45 +08:00
mikespook
c00234ba9a Refactoring the client api 2013-01-15 17:55:44 +08:00
mikespook
dbc06bf540 start refactoring... 2013-01-14 17:59:48 +08:00
mikespook
aa9b5e9598 Start working loop first 2013-01-11 11:33:13 +08:00
mikespook
ab0fc4a6a5 What a mess! -_-! 2013-01-08 17:23:10 +08:00
mikespook
d66157f79e a dirty implementing of pooling, refactoring needed 2013-01-05 15:24:06 +08:00
mikespook
4de3ae3f49 init commit for issue #3 2013-01-04 21:12:49 +08:00
Xing
a6049cf2fd Merge pull request #2 from miraclesu/job_limit
fixed job limit bug
2012-12-30 06:24:33 -08:00
mikespook
d927d374de fixed the import path 2012-12-30 22:23:40 +08:00
Xing
90fb9859f4 Merge pull request #1 from miraclesu/ref_read
A better read method
2012-12-30 06:20:11 -08:00
suchj
af47a3228f retrun data slice with correct index 2012-12-30 02:01:09 +08:00
suchj
37d7888544 fixed job limit bug 2012-12-29 23:54:20 +08:00
suchj
36ba74f0dc A better read method 2012-12-28 21:19:58 +08:00
mikespook
b72825d48a testing file removed 2012-12-28 17:15:23 +08:00
mikespook
6834e94fc5 take a break for reading data 2012-12-28 17:14:47 +08:00
mikespook
b1eecf8792 a better queue size 2012-12-27 13:41:33 +08:00
mikespook
0df61bcd82 fixed the border value 2012-12-27 13:06:18 +08:00
mikespook
027ca1c67c too few data to unpack, read more 2012-12-27 12:32:41 +08:00
mikespook
63480d6547 Check the length of data, if less 12, read more 2012-12-27 12:13:43 +08:00
mikespook
cd1bd72a80 read more 2012-12-27 11:36:11 +08:00
mikespook
fee531f9c1 check the size of byte array, greater or lesser 2012-12-26 17:03:15 +08:00
mikespook
d6c6bfe9f0 moved to github 2012-12-21 11:11:37 +08:00
mikespook
c3e789b516 merge 2012-12-21 10:59:43 +08:00
Xing
5a4406799b Initial commit 2012-12-20 18:51:15 -08:00
mikespook
1e2936aa6b merge 2012-11-22 17:22:54 +08:00
mikespook
919dfeaff0 A new example added 2012-11-22 17:15:20 +08:00
mikespook
91b315d61b a wild pointer captrued 2012-11-21 17:53:49 +08:00