You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On windows,the argument of SO_RCVTIMEO shoud be a DWORD in milliseconds. And timeval is a two long variable struct. The first long is sec. So when you want set 1 second timeout,then it will be 1ms.
The text was updated successfully, but these errors were encountered:
heroboy
changed the title
Maybe incorrect redisContextSetTimeout implement for window.
Maybe incorrect redisContextSetTimeout implement for windows.
Aug 1, 2019
https://docs.microsoft.com/en-us/windows/win32/api/winsock/nf-winsock-setsockopt
On windows,the argument of
SO_RCVTIMEO
shoud be a DWORD in milliseconds. Andtimeval
is a two long variable struct. The first long issec
. So when you want set 1 second timeout,then it will be 1ms.The text was updated successfully, but these errors were encountered: