Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
0f3c353d
Unverified
Commit
0f3c353d
authored
Jan 09, 2020
by
Salvatore Sanfilippo
Committed by
GitHub
Jan 09, 2020
Browse files
Merge pull request #6715 from trevor211/fixPotentialClusterLinkError
Fix petential cluster link error.
parents
f616ecf3
0992ada2
Changes
1
Show whitespace changes
Inline
Side-by-side
src/config.c
View file @
0f3c353d
...
@@ -2098,6 +2098,10 @@ static int updateMaxclients(long long val, long long prev, char **err) {
...
@@ -2098,6 +2098,10 @@ static int updateMaxclients(long long val, long long prev, char **err) {
static
char
msg
[
128
];
static
char
msg
[
128
];
sprintf
(
msg
,
"The operating system is not able to handle the specified number of clients, try with %d"
,
server
.
maxclients
);
sprintf
(
msg
,
"The operating system is not able to handle the specified number of clients, try with %d"
,
server
.
maxclients
);
*
err
=
msg
;
*
err
=
msg
;
if
(
server
.
maxclients
>
prev
)
{
server
.
maxclients
=
prev
;
adjustOpenFilesLimit
();
}
return
0
;
return
0
;
}
}
if
((
unsigned
int
)
aeGetSetSize
(
server
.
el
)
<
if
((
unsigned
int
)
aeGetSetSize
(
server
.
el
)
<
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment