Skip to content

Conversation

@GrozniyToaster
Copy link

No description provided.

Copy link
Member

@sobolevn sobolevn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is that correct?

What NX means?

NX -- Set expiry only when the key has no expiry

So, basically it is only set once, with the very first request.
Without NX it will reset EXPIRE on every _run_pipeline call.

@GrozniyToaster
Copy link
Author

Is that correct?

What NX means?

NX -- Set expiry only when the key has no expiry

So, basically it is only set once, with the very first request. Without NX it will reset EXPIRE on every _run_pipeline call.

Yes, can’t do it without nx

I redesigned the pipeline just to put TTL on the first request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants