Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use PSETEX instead of SET and PEXP #109

Merged
merged 2 commits into from
Oct 5, 2019

Conversation

alexsherman
Copy link
Contributor

PSETEX has been supported since Redis 2.6.0, so I think it would make sense to combine the SET and PEXPIRE commands and save on a round trip.

@alexsherman
Copy link
Contributor Author

All of the tests passed, the build failed because the async signature on set was no longer necessary. Have removed.

@alexsherman alexsherman closed this Oct 2, 2019
@hueniverse
Copy link
Contributor

Why did you close it though?

@alexsherman
Copy link
Contributor Author

Whoops that must have been an accident! Sorry. I'm seeing that the second commit failed tests, too, with 'client.psetex' is not a function

@alexsherman alexsherman reopened this Oct 2, 2019
@hueniverse hueniverse self-assigned this Oct 5, 2019
@hueniverse hueniverse added the feature New functionality or improvement label Oct 5, 2019
@hueniverse hueniverse added this to the 5.0.5 milestone Oct 5, 2019
@hueniverse hueniverse merged commit de485e4 into hapijs:master Oct 5, 2019
hueniverse added a commit that referenced this pull request Oct 5, 2019
@lock
Copy link

lock bot commented Jan 9, 2020

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature New functionality or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants