Md. Ashiquzzaman
d0e6ec4878
Fix Odd use of time.Duration ( #29 )
Ref - https://github.com/appscode/g2/issues/28
před 7 roky
Sadlil Rhythom
f2f0349d2d
Remove lastcall.
před 7 roky
Sadlil Rhythom
5c665de2d6
fix worker reconnect errors, send cando after reconnection.
* fix worker reconnect errors, send cando after reconnection.
před 7 roky
Christoffer Fjellström
2fba865e37
Merge pull request #81 from Detectify/master
Fix race condition in client.Do()
před 6 roky
Christoffer Fjellström
0ca6dc2c6f
Remove duplicate locking
Fixes duplicated code after merge
před 6 roky
No-ops
7b6215604e
Merge remote-tracking branch 'upstream/master'
před 6 roky
No-ops
8a7ac5b450
Merge branch 'develop'
před 6 roky
No-ops
a2eb7ba410
Remove unused imports
před 6 roky
No-ops
53bb686b76
Merge branch 'develop'
před 6 roky
Christoffer Fjellström
e701107e40
Remove broken test suite
OS and configuration specific integration test
před 6 roky
Christoffer Fjellström
99d317427f
Add skipping for integration tests when running unit tests
Run integration tests with the -integration flag
před 6 roky
Sadlil Rhythom
d8cb3883ad
Merge pull request #79 from John-Lin/fixed-typo
fixed typo on WorkComplete
před 6 roky
Christoffer Fjellström
d9ad23413d
Merge pull request #1 from Detectify/develop
Add lock on job handler assignment
před 6 roky
Christoffer Fjellström
2dbf199260
Add lock on job handler assignment
Fixes race condition on jobs being done before handler is set.
před 6 roky
John-Lin
e1224a8c20
fixed typo and keep WorkComplate for downward compatibility
před 6 roky
Christoffer Fjellström
9735b2e54f
Merge pull request #75 from No-ops/patch-1
Add sync lock to create job functions
před 7 roky
Christoffer Fjellström
27942f55cd
Add sync lock on do() to avoid race conditions when creating jobs
před 7 roky
Christoffer Fjellström
d6791e2e42
Add sync lock to create job functions
Add sync lock to make create job calls thread safe.
před 7 roky
Xing
b79fee2965
Merge pull request #70 from JessonChan/master
concurrent map bug fixed #70
před 8 roky
JessonChan
dd82e211a3
concurrent map bug fixed
před 8 roky
Xing
68777318f9
Merge pull request #65 from JessonChan/master
fixed #65
před 8 roky
JessonChan
99c8032384
fix a bug when high qps
před 8 roky
Xing
21cc8de64f
Merge pull request #63 from kujohn/pool-custom-handler
Allow built in selectionHandlers to be reused outside of package
před 8 roky
John Ku
9d99accce2
Allow built in selectionHandlers to be reused outside of package
před 8 roky
Xing
6d9b2fba51
Merge pull request #62 from kujohn/pool-custom-handler
Export SelectionHandler
před 8 roky
John Ku
1c4b8aa000
Export pool.clients for custom Pool instantiation
před 8 roky
John Ku
d20c3c7bd1
Allow custom Pool without constructor
před 8 roky
Xing Xing
c6c6c9cac2
don't use sigillum
před 9 roky
Xing
503d523dbf
Merge pull request #60 from micmac/master
Replace mutex in client.do() with a channel to avoid deadlock and int…
před 9 roky
Endre Hirling
c615e74af8
Replace mutex in client.do() with a channel to avoid deadlock and introduce command timeout
před 9 roky
Xing Xing
df1af4f8cb
80 chars/line
před 9 roky
Xing Xing
b612b80f80
complete the list of contributors
před 9 roky
Xing Xing
2c9d82830c
merge, update README to the newest API design.
před 9 roky
C.R. Kirkwood-Watts
37db439a4a
Update README.md
Updated to reflect new type names.
před 9 roky
Xing Xing
bc80b2f853
fixed signal method
před 9 roky
Xing Xing
939189448e
golib/signal upgrade
před 9 roky
Xing Xing
9dbb3ea3fc
added lock-write to co-ordinate package sequence #56
před 9 roky
Xing Xing
c01a2e22c0
upgrade travis to Go 1.4
před 9 roky
Xing Xing
ad9b3cb988
go fmt
před 9 roky
Xing Xing
a003eac543
fixed the closing method
před 9 roky
Xing Xing
d32eb195e1
Merge branch 'kdar-big-data'
před 9 roky
Xing Xing
25735c8488
merge for issue #33
před 9 roky
Xing
ea92c122a5
Merge pull request #50 from AzuraMeta/patch-1
Fixed WORK_FAIL needing 2 arguments
před 10 roky
Gabriel Cristian Alecu
e005ea4442
Fixed WORK_FAIL needing 2 arguments
According to http://gearman.org/protocol/ , WORK_FAIL only has 1 argument: the handle
před 10 roky
Xing
9387a36a0b
Merge pull request #49 from gbarr/write-errors
Do not ignore write errors
před 10 roky
Graham Barr
7bcc4de76f
Do not ignore write errors
před 10 roky
Xing
ccb6f4a24f
Merge pull request #48 from gbarr/large-packet-read
Avoid read channel corruption when response size > bufferSize
před 10 roky
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
před 10 roky
Graham Barr
49ea8c0ec1
Increase buffer size to 8K
před 10 roky
Xing
1f303d8145
Merge pull request #47 from gbarr/memleak
When a job completes, remove its handler
před 10 roky