Commit Graph

31 Commits

Author SHA1 Message Date
suchj
36ba74f0dc A better read method 2012-12-28 21:19:58 +08:00
mikespook
6834e94fc5 take a break for reading data 2012-12-28 17:14:47 +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
91b315d61b a wild pointer captrued 2012-11-21 17:53:49 +08:00
mikespook
05590bfb8c Info funcs added
--HG--
branch : dev
2012-09-25 15:16:17 +08:00
mikespook
8c67ce0830 WORK_FAIL fixed
--HG--
branch : dev
2012-09-25 14:39:50 +08:00
mikespook
fe5a31a51e fixed resources leaking
--HG--
branch : dev
2012-09-02 22:42:54 +08:00
mikespook
b7ee1d68f5 fixed a exec issue, timeout exec need to fix
--HG--
branch : dev
2012-08-30 16:12:15 +08:00
mikespook
3051e6fe4b tweaking
--HG--
branch : dev
2012-06-12 12:22:20 +08:00
mikespook
79c4bc2e47 promoted the executing timeout
--HG--
branch : dev
2012-06-05 14:36:39 +08:00
mikespook
e18e782bba fixed grabbing jobs 2012-06-04 23:01:46 +08:00
mikespook
cdfe4fff6c recover 2012-06-04 22:27:10 +08:00
mikespook
a980bc5de2 time out not work 2012-06-04 17:20:04 +08:00
mikespook
a142bcff58 fixed the limited issue 2012-06-04 16:34:29 +08:00
mikespook
6d68430f75 added a timeout at the worker side 2012-06-04 16:12:06 +08:00
mikespook
83f5f6fa70 fixed the example 2012-06-01 14:28:10 +08:00
mikespook
b7c858553c add reconnection to worker 2012-05-30 11:20:29 +08:00
mikespook
632d236343 typo 2012-05-29 08:45:37 +08:00
mikespook
d2301626cd fixed the infinite loop issue 2012-05-28 10:56:01 +08:00
mikespook
3e7b5d6cf3 merge 2012-05-28 10:36:08 +08:00
mikespook
842edf79ba fixed a infinite loop 2012-05-28 10:34:16 +08:00
mikespook
a8f7c8ab9d Read a empty data means connection error 2012-05-24 21:17:06 +08:00
mikespook
f14964bc81 add timeout to client.Do 2012-05-24 19:21:30 +08:00
mikespook
d6a9025a56 The worker can be working now.
--HG--
branch : 0.1
2012-05-24 16:49:35 +08:00
mikespook
2960cb9953 refacotring worker's code
--HG--
branch : 0.1
rename : worker/jobagent.go => worker/agent.go
rename : worker/workerjob.go => worker/job.go
2012-05-23 17:45:52 +08:00
mikespook
7614c2678a make a new branch, refactoring codes
--HG--
branch : 0.1
rename : gearman/client/client.go => client/client.go
rename : gearman/client/client_test.go => client/client_test.go
rename : gearman/client/clientjob.go => client/job.go
rename : gearman/gearman.go => common/gearman.go
rename : gearman/worker/jobagent.go => worker/jobagent.go
rename : gearman/worker/worker.go => worker/worker.go
rename : gearman/worker/worker_test.go => worker/worker_test.go
rename : gearman/worker/workerjob.go => worker/workerjob.go
2012-05-22 20:05:39 +08:00