Merge pull request #6837 from oranagra/signal_modified_key_doc

update RM_SignalModifiedKey doc comment
This commit is contained in:
Salvatore Sanfilippo 2020-02-06 10:38:36 +01:00 committed by GitHub
commit 2e1dd00c80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -890,7 +890,8 @@ void RM_SetModuleOptions(RedisModuleCtx *ctx, int options) {
ctx->module->options = options;
}
/* Signals that the key is modified from user's perspective (i.e. invalidate WATCH). */
/* Signals that the key is modified from user's perspective (i.e. invalidate WATCH
* and client side caching). */
int RM_SignalModifiedKey(RedisModuleCtx *ctx, RedisModuleString *keyname) {
signalModifiedKey(ctx->client->db,keyname);
return REDISMODULE_OK;