Skip to content

Instantly share code, notes, and snippets.

@Loschcode
Created April 25, 2022 20:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Loschcode/20bc6b1da3984d15e623fc66d1c7df4f to your computer and use it in GitHub Desktop.
Save Loschcode/20bc6b1da3984d15e623fc66d1c7df4f to your computer and use it in GitHub Desktop.
# concurrent migration strategy
# when migrating through this script
# you can launch it on multiple processes
# and they will deal with the concurrency by
# themselves without interrupting or crashing
class MigrateConcurrently
...
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment