Skip to content

Instantly share code, notes, and snippets.

@sdbondi
Created September 4, 2014 12:18
Show Gist options
  • Save sdbondi/1bea0d4bc60ddb9c76f8 to your computer and use it in GitHub Desktop.
Save sdbondi/1bea0d4bc60ddb9c76f8 to your computer and use it in GitHub Desktop.
Add 500ms delay to your localhost (useful for testing image upload progress)
# to add
tc qdisc add dev lo root netem delay 500ms
# to remove
tc qdisc delete dev lo root netem delay 500ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment