uwsgi-docs icon indicating copy to clipboard operation
uwsgi-docs copied to clipboard

wait_fd_read docs don't specify the timeout is in seconds

Open tisdall opened this issue 10 years ago • 1 comments

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 avatar Nov 18 '14 16:11 tisdall

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

tisdall avatar Nov 18 '14 16:11 tisdall