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

关于运行server和client时的命令 #1

Open
retailer-of-IT opened this issue Sep 21, 2023 · 2 comments
Open

关于运行server和client时的命令 #1

retailer-of-IT opened this issue Sep 21, 2023 · 2 comments

Comments

@retailer-of-IT
Copy link

请问是在服务器端直接运行./server,需要什么参数吗,客户端运行./client吗,我的报错:ThreadPool : init threadpool fail : args invalid!
Server: create threadpool fail!谢谢。另外代码中有一些拼写错误,比如makefile

@retailer-of-IT
Copy link
Author

希望解答一下运行时参数,谢谢

@whilson1314
Copy link
Owner

不需要参数的,直接运行就可以了,不过要先运行Mysql和Redis之后,修改IP地址以及数据库的账号密码等之后运行。关于线程池报错的问题,没有遇到过,因为在server.cpp中第32行已经声明了线程池数量和最大请求数,你出现的错误是在线程池参数不合法时导致的。

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