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
7313244d
Commit
7313244d
authored
Mar 08, 2023
by
Vitaly Arbuzov
Browse files
Revert LRU_CLOCK_RESOLUTION to 1000
parent
e65e306c
Changes
1
Show whitespace changes
Inline
Side-by-side
src/server.h
View file @
7313244d
...
@@ -875,7 +875,7 @@ struct RedisModuleDigest {
...
@@ -875,7 +875,7 @@ struct RedisModuleDigest {
#define LRU_BITS 24
#define LRU_BITS 24
#define LRU_CLOCK_MAX ((1<<LRU_BITS)-1)
/* Max value of obj->lru */
#define LRU_CLOCK_MAX ((1<<LRU_BITS)-1)
/* Max value of obj->lru */
#define LRU_CLOCK_RESOLUTION 1
/* LRU clock resolution in ms */
#define LRU_CLOCK_RESOLUTION 1
000
/* LRU clock resolution in ms */
#define OBJ_SHARED_REFCOUNT INT_MAX
/* Global object never destroyed. */
#define OBJ_SHARED_REFCOUNT INT_MAX
/* Global object never destroyed. */
#define OBJ_STATIC_REFCOUNT (INT_MAX-1)
/* Object allocated in the stack. */
#define OBJ_STATIC_REFCOUNT (INT_MAX-1)
/* Object allocated in the stack. */
...
...
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