Commit Graph

230 Commits

Author SHA1 Message Date
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
624c61519f using time.After instead of a separate goroutine 2012-05-30 09:54:22 +08:00
mikespook
5f581dd0e6 Removed tag go1-0.1, go1-0.0.1 2012-05-29 08:47:13 +08:00
mikespook
32c17f7364 Added tag 0.1 for changeset 7928d7ed58bc 2012-05-29 08:46:28 +08:00
mikespook
87678ebd2c Added tag 0.0.1 for changeset dee83cac69e0 2012-05-29 08:46:06 +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
16f134a30a fixed the merge error 2012-05-28 10:43:08 +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
0d6d1e114f promoted the README 2012-05-24 19:57:06 +08:00
mikespook
43745ebe69 tweaking 2012-05-24 19:29:36 +08:00
mikespook
4643031855 Added tag go1-0.1 for changeset 7928d7ed58bc 2012-05-24 19:24:12 +08:00
mikespook
b266c0cfe4 Added tag go1-0.1 for changeset a3b64f831c51 2012-05-24 19:23:16 +08:00
mikespook
c2a594400d Removed tag 2011-05-24, native.start 2012-05-24 19:22:49 +08:00
mikespook
dcdafaca70 Added tag go1-0.1 for changeset a3b64f831c51 2012-05-24 19:22:15 +08:00
mikespook
f14964bc81 add timeout to client.Do 2012-05-24 19:21:30 +08:00
mikespook
ba2c3721c8 Added tag go1-0.1 for changeset a3b64f831c51 2012-05-24 17:26:36 +08:00
mikespook
517a3af333 Removed tag 0.0.1 2012-05-24 17:26:20 +08:00
mikespook
a2ec177d2b Added tag go1-0.0.1 for changeset dee83cac69e0 2012-05-24 17:25:55 +08:00
mikespook
f62b2c405c merge 0.1 to default 2012-05-24 17:07:00 +08:00
mikespook
bd2478557e fixing for 'go install'
--HG--
branch : 0.1
2012-05-24 16:56:36 +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
563af037cb fixed client:Job.Encode
--HG--
branch : 0.1
2012-05-23 15:22:29 +08:00
mikespook
bcb7f5d9ec Added tag 0.0.1 for changeset dee83cac69e0 2012-05-22 23:03:08 +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
mikespook
e4172dec11 replease ErrQueue to ErrFunc, add a limitation to executing job 2012-05-10 21:25:33 +08:00
mikespook
f7896651a4 upgraded to the newest golib 2012-04-09 09:26:06 +08:00
mikespook
59e061e094 merge 2012-03-28 11:33:12 +08:00
mikespook
b1bfc93f91 all jobs should be done, befor processing loop exited. 2012-03-28 11:27:57 +08:00
mikespook
b8ec3fd242 Modified the api, added the interrupt for the example. 2012-03-27 22:48:03 +08:00
mikespook
79e383a639 added new lines. 2012-03-26 14:10:15 +08:00
mikespook
e0c1537e8e code refactoring, upgrade to GO1 RC2
--HG--
rename : README => README.md
rename : src/gearman/client.go => gearman/client/client.go
rename : src/gearman/client_test.go => gearman/client/client_test.go
rename : src/gearman/clientjob.go => gearman/client/clientjob.go
rename : src/gearman/gearman.go => gearman/gearman.go
rename : src/gearman/jobagent.go => gearman/worker/jobagent.go
rename : src/gearman/worker.go => gearman/worker/worker.go
rename : src/gearman/worker_test.go => gearman/worker/worker_test.go
rename : src/gearman/workerjob.go => gearman/worker/workerjob.go
2012-03-26 13:32:59 +08:00
mikespook
85a02820fc Upgrade to weekly.2011-12-14 2011-12-28 17:59:44 +08:00
mikespook
5c13b0923b rename the jobClient into jobAgent.
--HG--
rename : src/gearman/jobclient.go => src/gearman/jobagent.go
2011-10-11 11:20:01 +08:00
mikespook
e34d969e47 Fix bugs in example codes. 2011-10-09 17:53:55 +08:00
mikespook
68801a66fe the Job was out of use. 2011-09-26 14:25:14 +08:00
mikespook
4b8306e3bd For the goinstall command, move files out of sub-dir.
--HG--
rename : src/gearman/client/job.go => src/gearman/clientjob.go
rename : src/gearman/worker/jobclient.go => src/gearman/jobclient.go
rename : src/gearman/worker/job.go => src/gearman/workerjob.go
2011-09-26 11:56:24 +08:00
mikespook
e902ac0573 Move the source files from src/ to src/gearman/.
--HG--
rename : src/Makefile => src/gearman/Makefile
rename : src/client.go => src/gearman/client.go
rename : src/client/job.go => src/gearman/client/job.go
rename : src/client_test.go => src/gearman/client_test.go
rename : src/gearman.go => src/gearman/gearman.go
rename : src/worker.go => src/gearman/worker.go
rename : src/worker/job.go => src/gearman/worker/job.go
rename : src/worker/jobclient.go => src/gearman/worker/jobclient.go
rename : src/worker_test.go => src/gearman/worker_test.go
2011-09-17 16:53:17 +08:00
mikespook
4bf2f63f4d Move the source files from src/pkg/gearman to src/.
--HG--
rename : src/pkg/gearman/Makefile => src/Makefile
rename : src/pkg/gearman/client.go => src/client.go
rename : src/pkg/gearman/client/job.go => src/client/job.go
rename : src/pkg/gearman/client_test.go => src/client_test.go
rename : src/pkg/gearman/gearman.go => src/gearman.go
rename : src/pkg/gearman/worker.go => src/worker.go
rename : src/pkg/gearman/worker/job.go => src/worker/job.go
rename : src/pkg/gearman/worker/jobclient.go => src/worker/jobclient.go
rename : src/pkg/gearman/worker_test.go => src/worker_test.go
2011-09-17 16:41:28 +08:00
mikespook
c66d460235 damn 2011-09-06 18:04:14 +08:00
mikespook
c167025a3a a test for filenames
--HG--
rename : src/pkg/gearman/client_job.go => src/pkg/gearman/clientjob.go
rename : src/pkg/gearman/worker_job.go => src/pkg/gearman/workerjob.go
rename : src/pkg/gearman/worker_jobclient.go => src/pkg/gearman/workerjobclient.go
2011-09-06 16:38:49 +08:00
mikespook
baf23ea5e1 revert package name 2011-09-06 16:34:38 +08:00