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

MOD: add client connection limit #20

Merged
merged 1 commit into from
Dec 6, 2018

Conversation

liguangbo
Copy link
Collaborator

@liguangbo liguangbo commented Dec 5, 2018

@liguangbo liguangbo force-pushed the feature/limit-client-connection branch from add8572 to ab022b5 Compare December 5, 2018 06:38
src/nc_conf.h Outdated
@@ -46,7 +46,7 @@
#define CONF_DEFAULT_DIST DIST_KETAMA
#define CONF_DEFAULT_TIMEOUT -1
#define CONF_DEFAULT_LISTEN_BACKLOG 512
#define CONF_DEFAULT_CLIENT_CONNECTIONS 0
#define CONF_DEFAULT_CLIENT_CONNECTIONS 64
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CONF_DEFAULT_CLIENT_CONNECTIONS=>1024

@ruoshan ruoshan merged commit 7806a76 into develop Dec 6, 2018
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

Successfully merging this pull request may close these issues.

3 participants