unbit / uwsgi-docs

Official uWSGI docs, examples, tutorials, tips and tricks
MIT License
638 stars 348 forks source link

wait_fd_read docs don't specify the timeout is in seconds #202

Open tisdall opened 9 years ago

tisdall commented 9 years ago

It's a small thing, but noticeable when you don't know already... wait_fd_read docs simply state you can pass a "timeout" but it doesn't specify what the unit of time is. After looking at some examples I figured out it was seconds. However, it's also not clear if I can specify fractions of a second with a float or not.

Obviously the same issue exists with wait_fd_write.

tisdall commented 9 years ago

okay, from exceptions it seems it only accepts integer values... I guess I should have known that from looking at the C code too.