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

UuidOrderedTimeGenerator: reuse global UuidFactory instead of new'ing it #37

Merged
merged 1 commit into from Jul 18, 2017

Conversation

sserbin
Copy link
Contributor

@sserbin sserbin commented Jul 18, 2017

allows UuidFactory to be user-configured

See #36

Edit: cloning the global factory to avoid unintended side-effects (i.e. modifying its codec - which would prevent from generating both orderedTime and regular uuids)

@sserbin sserbin force-pushed the uuidOrdered-reuse-global-factory branch from bb630c8 to 65317fd Compare July 18, 2017 10:42
@ramsey
Copy link
Owner

ramsey commented Jul 18, 2017

Thanks for contributing!

@ramsey ramsey merged commit ed4f55f into ramsey:master Jul 18, 2017
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.

None yet

2 participants