Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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