Skip to content

Commit

Permalink
Update redis* to valkey* in syscheck.c (#365)
Browse files Browse the repository at this point in the history
Fixes #352

Signed-off-by: hwware <wen.hui.ware@gmail.com>
  • Loading branch information
hwware committed Apr 25, 2024
1 parent be81469 commit 2864fff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/syscheck.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ int checkXenClocksource(sds *error_msg) {
} else if (strcmp(curr, "xen") == 0) {
*error_msg = sdsnew(
"Your system is configured to use the 'xen' clocksource which might lead to degraded performance. "
"Check the result of the [slow-clocksource] system check: run 'redis-server --check-system' to check if "
"Check the result of the [slow-clocksource] system check: run 'valkey-server --check-system' to check if "
"the system's clocksource isn't degrading performance.");
res = -1;
}
Expand Down Expand Up @@ -180,10 +180,10 @@ int checkTHPEnabled(sds *error_msg) {
if (strstr(buf,"[always]") != NULL) {
*error_msg = sdsnew(
"You have Transparent Huge Pages (THP) support enabled in your kernel. "
"This will create latency and memory usage issues with Redis. "
"This will create latency and memory usage issues with Valkey. "
"To fix this issue run the command 'echo madvise > /sys/kernel/mm/transparent_hugepage/enabled' as root, "
"and add it to your /etc/rc.local in order to retain the setting after a reboot. "
"Redis must be restarted after THP is disabled (set to 'madvise' or 'never').");
"Valkey must be restarted after THP is disabled (set to 'madvise' or 'never').");
return -1;
} else {
return 1;
Expand Down

0 comments on commit 2864fff

Please sign in to comment.