diff options
author | Michael Grunder <michael.grunder@gmail.com> | 2022-08-29 09:17:53 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-29 09:17:53 -0700 |
commit | 507a6dcaa5471ea395964e3166d402799f3db2fe (patch) | |
tree | 62817b1d7816a89ed1c2a199c754d7de7a29b351 | |
parent | e0200b797bb9ea1cdb744f371c3de09f72558343 (diff) | |
parent | b044eaa6a751d9354f1c05305be902a17c7da97c (diff) |
Merge pull request #1090 from Nordix/subscribe-oom-error
Copy OOM errors to redisAsyncContext when finding subscribe callback
-rw-r--r-- | async.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -535,6 +535,7 @@ static int __redisGetSubscribeCallback(redisAsyncContext *ac, redisReply *reply, return REDIS_OK; oom: __redisSetError(&(ac->c), REDIS_ERR_OOM, "Out of memory"); + __redisAsyncCopyError(ac); return REDIS_ERR; } |