Skip to content

Instantly share code, notes, and snippets.

@joesavak
Created September 27, 2012 17:09
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 joesavak/3795183 to your computer and use it in GitHub Desktop.
Save joesavak/3795183 to your computer and use it in GitHub Desktop.
runMigrate
#one of many threads running to not impede migration velocity
Foreach user(@users)
migrate($user)
setDisableFlagInGA($user) #still route to CAuth
$change=true
while change
data A= getUserData($user)
sleep(61) #sleep 61 minutes
data B = getUserData($user)
if A==B
change=false
end
end
setEnableFlagInGA($user)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment