Skip to content

Commit

Permalink
running the test using tcl8.5 directly instead of tclsh that too ofte…
Browse files Browse the repository at this point in the history
…n it's a symlink to 8.4
  • Loading branch information
antirez committed Apr 19, 2010
1 parent f1a930b commit 7ccd2d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ staticsymbols:
tclsh utils/build-static-symbols.tcl > staticsymbols.h

test:
tclsh test-redis.tcl -p $(PORT) -h $(HOST)
tclsh8.5 test-redis.tcl -p $(PORT) -h $(HOST)

bench:
./redis-benchmark
Expand Down
2 changes: 1 addition & 1 deletion redis.c
Original file line number Diff line number Diff line change
Expand Up @@ -9934,7 +9934,7 @@ int linuxOvercommitMemoryValue(void) {

void linuxOvercommitMemoryWarning(void) {
if (linuxOvercommitMemoryValue() == 0) {
redisLog(REDIS_WARNING,"WARNING overcommit_memory is set to 0! Background save may fail under low condition memory. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.");
redisLog(REDIS_WARNING,"WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.");
}
}
#endif /* __linux__ */
Expand Down

1 comment on commit 7ccd2d0

@kmerenkov
Copy link
Contributor

Choose a reason for hiding this comment

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

What if I have 8.6 only? :-)

Please sign in to comment.