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

Remove caching in to_signed_global_id. #60

Merged
merged 1 commit into from
Jan 21, 2015
Merged

Remove caching in to_signed_global_id. #60

merged 1 commit into from
Jan 21, 2015

Conversation

kaspth
Copy link
Contributor

@kaspth kaspth commented Jan 21, 2015

Fixes #58.

The options parameter prevents us from caching the return value of create.

Developing more advanced caching is not worth it, as create runs at
~10k per second - see benchmark pasted at #58.

The options parameter prevents us from caching the return value of `create`.

Developing more advanced caching is not worth it, as `create` runs at
~10k per second - see benchmark pasted at #58.
kaspth added a commit that referenced this pull request Jan 21, 2015
Remove caching in `to_signed_global_id`.
@kaspth kaspth merged commit 5671ed8 into rails:master Jan 21, 2015
@kaspth kaspth deleted the drop-sgid-caching branch January 21, 2015 15:00
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.

bug - global id is incorrect with multiple calls
1 participant