No-ops
a2eb7ba410
Remove unused imports
6 years ago
Christoffer Fjellström
e701107e40
Remove broken test suite
OS and configuration specific integration test
6 years ago
Christoffer Fjellström
99d317427f
Add skipping for integration tests when running unit tests
Run integration tests with the -integration flag
6 years ago
Christoffer Fjellström
2dbf199260
Add lock on job handler assignment
Fixes race condition on jobs being done before handler is set.
6 years ago
Christoffer Fjellström
27942f55cd
Add sync lock on do() to avoid race conditions when creating jobs
7 years ago
Xing
b79fee2965
Merge pull request #70 from JessonChan/master
concurrent map bug fixed #70
8 years ago
JessonChan
dd82e211a3
concurrent map bug fixed
8 years ago
Xing
68777318f9
Merge pull request #65 from JessonChan/master
fixed #65
8 years ago
JessonChan
99c8032384
fix a bug when high qps
8 years ago
Xing
21cc8de64f
Merge pull request #63 from kujohn/pool-custom-handler
Allow built in selectionHandlers to be reused outside of package
8 years ago
John Ku
9d99accce2
Allow built in selectionHandlers to be reused outside of package
8 years ago
Xing
6d9b2fba51
Merge pull request #62 from kujohn/pool-custom-handler
Export SelectionHandler
8 years ago
John Ku
1c4b8aa000
Export pool.clients for custom Pool instantiation
8 years ago
John Ku
d20c3c7bd1
Allow custom Pool without constructor
8 years ago
Xing Xing
c6c6c9cac2
don't use sigillum
9 years ago
Xing
503d523dbf
Merge pull request #60 from micmac/master
Replace mutex in client.do() with a channel to avoid deadlock and int…
9 years ago
Endre Hirling
c615e74af8
Replace mutex in client.do() with a channel to avoid deadlock and introduce command timeout
9 years ago
Xing Xing
df1af4f8cb
80 chars/line
9 years ago
Xing Xing
b612b80f80
complete the list of contributors
9 years ago
Xing Xing
2c9d82830c
merge, update README to the newest API design.
9 years ago
C.R. Kirkwood-Watts
37db439a4a
Update README.md
Updated to reflect new type names.
9 years ago
Xing Xing
bc80b2f853
fixed signal method
9 years ago
Xing Xing
939189448e
golib/signal upgrade
9 years ago
Xing Xing
9dbb3ea3fc
added lock-write to co-ordinate package sequence #56
9 years ago
Xing Xing
c01a2e22c0
upgrade travis to Go 1.4
9 years ago
Xing Xing
ad9b3cb988
go fmt
9 years ago
Xing Xing
a003eac543
fixed the closing method
9 years ago
Xing Xing
d32eb195e1
Merge branch 'kdar-big-data'
9 years ago
Xing Xing
25735c8488
merge for issue #33
9 years ago
Xing
ea92c122a5
Merge pull request #50 from AzuraMeta/patch-1
Fixed WORK_FAIL needing 2 arguments
9 years ago
Gabriel Cristian Alecu
e005ea4442
Fixed WORK_FAIL needing 2 arguments
According to http://gearman.org/protocol/ , WORK_FAIL only has 1 argument: the handle
9 years ago
Xing
9387a36a0b
Merge pull request #49 from gbarr/write-errors
Do not ignore write errors
9 years ago
Graham Barr
7bcc4de76f
Do not ignore write errors
9 years ago
Xing
ccb6f4a24f
Merge pull request #48 from gbarr/large-packet-read
Avoid read channel corruption when response size > bufferSize
9 years ago
Graham Barr
d82da8fd71
Avoid read channel corruption when response size > bufferSize
When receiving a response, what was happening
1. Read bufferSize and it gets assigned to leftdata
2. Read another bufferSize
3. 2 buffers get appended, but leftdata still points to first buffer
4. Process data buffer which contains only complete responses
5. Back to ReadLoop, but leftdata still points to first incomplete buffer
causing corrupt data to be processed
Solution is to make leftdata nil once we have merged it with the second buffer
10 years ago
Graham Barr
49ea8c0ec1
Increase buffer size to 8K
10 years ago
Xing
1f303d8145
Merge pull request #47 from gbarr/memleak
When a job completes, remove its handler
10 years ago
Graham Barr
3e556edb2d
When a job completes, remove its handler
10 years ago
Xing Xing
d40888817d
Merge branch 'master' into 0.2-dev
10 years ago
Xing
dde0c3e9b3
Merge pull request #45 from draxil/worker_disconnect_testing
Allow reconnect from error handler
10 years ago
Xing Xing
14f4df8ede
Joe helped us greatly
10 years ago
Xing Xing
c8d59ea348
Merge branch 'master' into 0.2-dev
10 years ago
Xing
c6c0d4f481
Merge pull request #43 from draxil/master
Handling disconnects
10 years ago
Joe Higton
97731e1774
FIX: EOF disconnect error also called raw handler afterwards
10 years ago
Joe Higton
09c626f488
Cope with io.EOF as a disconnect error
10 years ago
Joe Higton
1ebb3d5fcc
Wrap disconnect errors and allow reconnect
10 years ago
Joe Higton
6cf2680431
Merge branch 'worker_disconnect_testing'
10 years ago
Joe Higton
99bcf11768
FIX: The error handler is not called on disconnect
Using the disconnect test showed the agent was silently closing on disconnect
10 years ago
Joe Higton
827cf3fa3e
Removed old gearman from travis
gearman-go and original gearmand don't play well, possibly an issue?
10 years ago
Joe Higton
7ddad76b85
Early stab at disconnect handling test
10 years ago