Skip to content

Instantly share code, notes, and snippets.

@ivan-ivanic-cm
Created September 5, 2012 07:34
Show Gist options
  • Save ivan-ivanic-cm/3632671 to your computer and use it in GitHub Desktop.
Save ivan-ivanic-cm/3632671 to your computer and use it in GitHub Desktop.
Simulaitng slow connection.
# Add delay of 1000 millis to every request
sudo tc qdisc add dev lo root handle 1:0 netem delay 1000msec
# Remove delay
sudo tc qdisc del dev lo root
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment