Is there a way to influence the loadmodule parameter in the config rewrite within the module? #902
Unanswered
learning-worker
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
in valkey 7, config rewrite support rewrite modules as loadmodule options into config file.
I'll register some commands to modify the parameters of the module at runtime. How can I ensure that the module parameter written into the configuration file during config rewrite is the modified one?
I see in the code that the parameters of the module are read in loadmod->argv[i]->ptr. Is there any way to affect this variable in the module?
Should I save the argv parameter in the module when ValkeyModule_OnLoad?
Beta Was this translation helpful? Give feedback.
All reactions