Skip to content

Commit 480eae3

Browse files
authored
wrapp EXECUTION_DEFAULT_MAX_IDLE_MS with ifdef so VG will override it (#90)
1 parent bb13666 commit 480eae3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/mr.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@
2323

2424
#include <pthread.h>
2525
#include <hiredis.h>
26-
26+
#ifndef EXECUTION_DEFAULT_MAX_IDLE_MS
2727
#define EXECUTION_DEFAULT_MAX_IDLE_MS 5000
28+
#endif
2829

2930
#define ID_LEN REDISMODULE_NODE_ID_LEN + sizeof(size_t)
3031
#define STR_ID_LEN REDISMODULE_NODE_ID_LEN + 13

0 commit comments

Comments
 (0)