Created
October 21, 2017 20:05
-
-
Save zanker/a9cb5ba845b32fe76094619305e6324d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Thread 1 | |
total = 0 | |
loop do | |
total = total + 1 | |
end | |
# Thread 2 | |
response = HTTP.post("/users/create") | |
data = JSON.parse(response.body) | |
HTTP.post("/update-profile/#data['user_id']}") | |
render status: 200 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment