Skip to content

Conversation

@AaronPatterson1
Copy link
Collaborator

No description provided.

Comment on lines +15 to +17
let min = 65536;
let max = 16777216;
let counter = seeder::gen_range(min..max);
Copy link
Contributor

Choose a reason for hiding this comment

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

This wouldn't produce an incrementing counter, the generation wouldn't be a stable series of mongodb object ids. I think we have a counter function or 2 that are stable that should be used instead.

Copy link
Contributor

@clearfeld clearfeld left a comment

Choose a reason for hiding this comment

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

This wouldn't produce an incrementing counter, the generation wouldn't be a stable series of mongodb object ids. I think we have a counter function or 2 that are stable that should be used instead.

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.

3 participants