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

msf遇行久了,数据库会请求不到数据,会超时。 #151

Open
wuchuguang opened this issue Jan 20, 2018 · 1 comment
Open

msf遇行久了,数据库会请求不到数据,会超时。 #151

wuchuguang opened this issue Jan 20, 2018 · 1 comment

Comments

@wuchuguang
Copy link

// swoole server的reactor数量
'reactor_num' => 2,
// swoole server的worker数量
'worker_num' => 4,
// swoole server的task worker数量
'task_worker_num' => 50,

这是我连接线没自动断开吗?导致msf连接数据库超时吗?

@gvzhang
Copy link

gvzhang commented Jan 23, 2018

php-msf-demo里面的config/server.php有一个协程超时时间配置。

$config['coroutine']['timeout'] = 5000;

你可以加大试试。

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