Joe Higton
0a4489d1fe
Fixed and improved Work() without Ready() test:
* FIX: committed test froze
* FIX: committed test had a race condition!
* Added properly handled panic test
* Timeouts so that these tests should fail now if something goes wrong instead of failing.
před 10 roky
draxil
6688c29c37
Enahanced Work() without Ready() behaviour:
Now if you try to call Work() without calling Ready(), it will trigger an attempt to run Ready(), and will only panic if there is an error.
před 10 roky
Xing Xing
bf25cc1728
a better documents for the client package
před 10 roky
Xing Xing
18791d0490
a better documents
před 10 roky
Xing Xing
2ee2be0891
go fmt
před 10 roky
Xing Xing
2b4cc002d1
grab, no_job, pre_sleep, noop
před 10 roky
Xing Xing
e5179e3b5b
started refactoring worker
před 11 roky
Xing Xing
124e686699
go fmt
před 11 roky
mikespook
f14964bc81
add timeout to client.Do
před 12 roky
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
před 12 roky
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
před 12 roky