Skip to content

Conversation

@cabal95
Copy link

@cabal95 cabal95 commented Sep 5, 2017

Disclaimer

Feel free to dump this PR if you want. I ended up changing a lot.

Changes

Reduced to building query a single time with a do/while loop instead of while loop.
Replaced Chunks with simplified .Take(100 ).ToList() call instead.
Added status message for how many people were modified.
Added ability to configure job to only modify people created within a relative date range.

Testing

Successfully ran on my dev box with live data. Updated 6,500 records in 37 seconds.

…of while loop.

Replaced Chunks with simplified .Take(100 ).ToList() call instead.
Added status message for how many people were modified.
Added ability to configure job to only modify people created within a relative date range.
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.

1 participant