Created
September 5, 2012 07:34
-
-
Save ivan-ivanic-cm/3632671 to your computer and use it in GitHub Desktop.
Simulaitng slow connection.
This file contains hidden or 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
| # 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