Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

客户端轮询问题 #15

Open
tuyuwei opened this issue Jan 29, 2019 · 4 comments
Open

客户端轮询问题 #15

tuyuwei opened this issue Jan 29, 2019 · 4 comments

Comments

@tuyuwei
Copy link

tuyuwei commented Jan 29, 2019

hi.. 这里加个客户端是不是要一直轮询下去呢。。

@tuyuwei
Copy link
Author

tuyuwei commented Jan 29, 2019

这里可以加个推拉或消息通知,更加方便。。

@kerfans
Copy link

kerfans commented Feb 1, 2019

同样的疑惑,php客户端是要不停的轮询请求go的pop接口,然后获取任务再执行?

@ouqiang
Copy link
Owner

ouqiang commented Feb 1, 2019

是的

@kerfans
Copy link

kerfans commented Feb 1, 2019

是的

建议加个到时间自动回调url执行对应操作啊。要一直轮询查这个,感觉就比轮询查数据库效率好点。并没有啥特别大的用处。我觉得弄个版本可以和您的那个定时任务放一起,挺好的。能解决一般业务需要用到的定时、延时需求。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants