community-libs / vaurien

TCP hazard proxy
https://vaurien.readthedocs.io
Other
379 stars 38 forks source link

changed delay to use a float instead of int #37

Closed crankycoder closed 10 years ago

crankycoder commented 10 years ago

This patch just changes the delay parameter to use a float instead of int so that fractional second delays can be tested.

The underlying gevent.sleep accepts floats: http://www.gevent.org/gevent.html#gevent.sleep