Commit Graph

98 Commits

Author SHA1 Message Date
Xing Xing
bcff8f7e0d go fmt 2013-12-24 14:39:04 +08:00
Xing Xing
2da5f29cd1 refactoring complated 2013-12-24 14:35:33 +08:00
Xing Xing
2ee2be0891 go fmt 2013-12-23 17:05:42 +08:00
Xing Xing
2b4cc002d1 grab, no_job, pre_sleep, noop 2013-12-23 17:01:01 +08:00
Xing Xing
a33a6cde32 complated in/out-pack name's refactoring 2013-12-21 11:09:13 +08:00
Xing Xing
e9c29799fb refactoring worker side data package 2013-12-20 15:24:22 +08:00
Xing Xing
e5179e3b5b started refactoring worker 2013-08-30 18:01:10 +08:00
Xing Xing
124e686699 go fmt 2013-08-30 12:36:57 +08:00
mikespook
8e009be940 #14 fixed 2013-04-24 16:58:06 +08:00
Paul Mach
f3b4013e2b Update and Receive status correctly 2013-04-23 11:45:57 -07:00
mikespook
568c70b083 #12 fixed 2013-04-23 16:58:06 +08:00
miraclesu
9549d98a7c Close friendly 2013-03-26 17:22:07 +08:00
mikespook
aa9b5e9598 Start working loop first 2013-01-11 11:33:13 +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
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
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