Comments (1)
应该是会被调用的。会不会是你的 worker 没开或者注册的不对呢?请确保:
- 你的 worker 程序开了
- 你的 worker 程序注册了正确的 function name
- 你的 worker 程序返回了正确的 response
一个简单的验证方法是通过 shell 来创建一个 worker:
gearman -h 127.0.0.1 -w -f test/hello -- /bin/echo hello
这个 worker 会注册一个 function 名字叫做 test/hello 然后对每一个请求都应答一个 hello。
from gearman-go.
Related Issues (20)
- invalid magic HOT 6
- 循环调用同个work,一分钟左右就卡住了
- Custom work logic HOT 8
- 在大量的提交时,会出现map并发写错误 HOT 1
- example中的jobhandler
- Calling Multiple Ready() results in workers registered multiple times
- Race condition when creating new job from client HOT 1
- Client need to receive a JOB_CREATED from server before submitting a new job HOT 1
- Can job be killed by client? HOT 2
- Creating jobs for testing purposes HOT 6
- When there is only one worker, and this worker is blocked and client continues to submit ,runnning jobs more than worker HOT 1
- Waiting until all jobs had been completed HOT 1
- worker连续两次grab会导致获取不到任务 HOT 2
- Unsolicited response received on idle HTTP channel
- Readme out of date.
- Race condition on close worker HOT 3
- Worker doesn't continue work after limit
- client.SelectWithRate Always choose the first one,Right?
- client/pool.go有死锁问题, client.Lock() 应该改为 client.mutex.Lock() HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gearman-go.