mirror of
https://github.com/fluencelabs/redis
synced 2025-06-16 02:31:20 +00:00
More memory tests implemented. Default number of iterations lowered to a more acceptable value of 50.
This commit is contained in:
@ -2313,7 +2313,7 @@ int main(int argc, char **argv) {
|
||||
strcmp(argv[1], "-h") == 0) usage();
|
||||
if (strcmp(argv[1], "--test-memory") == 0) {
|
||||
if (argc == 3) {
|
||||
memtest(atoi(argv[2]),300);
|
||||
memtest(atoi(argv[2]),50);
|
||||
exit(0);
|
||||
} else {
|
||||
fprintf(stderr,"Please specify the amount of memory to test in megabytes.\n");
|
||||
|
Reference in New Issue
Block a user