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

Change hashes to be strings #7

Open
wearhere opened this issue Apr 25, 2017 · 1 comment
Open

Change hashes to be strings #7

wearhere opened this issue Apr 25, 2017 · 1 comment

Comments

@wearhere
Copy link
Contributor

e.g.

redis.call("HMSET", KEYS[1], "index", index);

Since we only set a single field.

Makes code simpler, probably a small performance improvement too.

@wearhere
Copy link
Contributor Author

We could also replace PEXPIRE with PSETEX then.

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

No branches or pull requests

1 participant