diff options
author | chenyang8094 <chenyang8094@users.noreply.github.com> | 2022-07-24 13:50:21 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-24 08:50:21 +0300 |
commit | 39d216a326539e8f3d51fca961d193e4d7be43e0 (patch) | |
tree | c1255b85e55ef7b7254011269759cb6978f39036 | |
parent | 5879e490b8c4d2c1eb612c155ba798d5ec16455a (diff) | |
download | redis-39d216a326539e8f3d51fca961d193e4d7be43e0.tar.gz |
Register abs-expire apis (#11025)
RM_SetAbsExpire and RM_GetAbsExpire were not actually operational since
they were introduced, due to omission in API registration.
-rw-r--r-- | src/module.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/module.c b/src/module.c index b57032c8d..c9d8064d2 100644 --- a/src/module.c +++ b/src/module.c @@ -12483,6 +12483,8 @@ void moduleRegisterCoreAPI(void) { REGISTER_API(StringTruncate); REGISTER_API(SetExpire); REGISTER_API(GetExpire); + REGISTER_API(SetAbsExpire); + REGISTER_API(GetAbsExpire); REGISTER_API(ResetDataset); REGISTER_API(DbSize); REGISTER_API(RandomKey); |