You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 30, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on May 30, 2024. It is now read-only.
RedisFeatureStore: client.unref() causes AWS Lambda function to end unexpectedly #76
I'm using RedisFeatureStore with options use_ldd: true on AWS Lambda. Have an issue that the Lambda function ends unexpectedly.
Digging deeper into the SDK code, I found out that - after calling client.unref();
at https://github.com/launchdarkly/node-client/blob/master/redis_feature_store.js#L28
if I make any request to Redis after that it will cause the Lambda function to end unexpectedly (without calling the callback)
Activity
apucacao commentedon Jan 26, 2018
Hi @bnol ,
Thanks for reaching out.
Do you get any errors when the function exits?
bnol commentedon Jan 26, 2018
Unfortunately, no @apucacao.
bnol commentedon Jan 29, 2018
If I remove
client.unref();. Everything works fine :)Merge pull request #76 from launchdarkly/eb/schema-version
eli-darkly commentedon Apr 22, 2020
@bnol Apologies for having let this fall through the cracks. FYI, we are finally removing this unnecessary method call in the next SDK release.
eli-darkly commentedon Apr 25, 2020
This is fixed in 5.13.1.