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
978a790b
Commit
978a790b
authored
Dec 06, 2016
by
Salvatore Sanfilippo
Committed by
GitHub
Dec 06, 2016
Browse files
Merge pull request #3663 from wshn13/add-LF-character-in-memory-doctor-output-message
Add '\n' to MEMORY DOCTOR command output message
parents
16cce320
2d91fce9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/object.c
View file @
978a790b
...
...
@@ -955,14 +955,14 @@ sds getMemoryDoctorReport(void) {
if
(
num_reports
==
0
)
{
s
=
sdsnew
(
"Hi Sam, I can't find any memory issue in your instance. "
"I can only account for what occurs on this base."
);
"I can only account for what occurs on this base.
\n
"
);
}
else
if
(
empty
==
1
)
{
s
=
sdsnew
(
"Hi Sam, this instance is empty or is using very little memory, "
"my issues detector can't be used in these conditions. "
"Please, leave for your mission on Earth and fill it with some data. "
"The new Sam and I will be back to our programming as soon as I "
"finished rebooting."
);
"finished rebooting.
\n
"
);
}
else
{
s
=
sdsnew
(
"Sam, I detected a few issues in this Redis instance memory implants:
\n\n
"
);
if
(
big_peak
)
{
...
...
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