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

发现即使是阻塞方式启动 线程也没有正常结束 #45

Closed
yumexupanic opened this issue Sep 19, 2017 · 6 comments
Closed

发现即使是阻塞方式启动 线程也没有正常结束 #45

yumexupanic opened this issue Sep 19, 2017 · 6 comments

Comments

@yumexupanic
Copy link

相关问题
#41

GeccoEngine.create()
                    .classpath("xxx")
                    .pipelineFactory(springPipelineFactory)
                    .interval(1000)
                    .thread(thread)
                    .start(request).run();

System.out.println("here");

下次启动 线程会一直累加 一直到服务器最大线程 最后崩掉

@xtuhcy
Copy link
Owner

xtuhcy commented Sep 19, 2017

thread(thread)是几个?start(request)只有一个是吗?

@yumexupanic
Copy link
Author

thread 是2个 request 是多个

@yumexupanic
Copy link
Author

@xtuhcy
有什么解决办法吗?

@xtuhcy
Copy link
Owner

xtuhcy commented Sep 20, 2017

好像是有bug,我抽空解决一下

@xtuhcy
Copy link
Owner

xtuhcy commented Sep 20, 2017

之前没有线程超时设置, 增加了15秒的超时设置。另外,用多线程模式不建议用run模式运行,使用场景不太对

@xtuhcy xtuhcy closed this as completed Sep 20, 2017
@xtuhcy
Copy link
Owner

xtuhcy commented Sep 21, 2017

忘记说了,代码在1.3的分支上,还没和进master

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

2 participants