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.
il y a 10 ans
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.
il y a 10 ans
Xing Xing
bf25cc1728
a better documents for the client package
il y a 10 ans
Xing Xing
18791d0490
a better documents
il y a 10 ans
Xing Xing
2ee2be0891
go fmt
il y a 10 ans
Xing Xing
2b4cc002d1
grab, no_job, pre_sleep, noop
il y a 10 ans
Xing Xing
e5179e3b5b
started refactoring worker
il y a 11 ans
Xing Xing
124e686699
go fmt
il y a 11 ans
mikespook
f14964bc81
add timeout to client.Do
il y a 12 ans
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
il y a 12 ans
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
il y a 12 ans