adubkov/py-zabbix

Provide a timeout parameter for socket.connect()

alisson276 opened this issue · 3 comments

Please, provide a timeout parameter for send(), because if the server (or proxy) is not running the script was stucked.

The problem is the socket.connect() doesn't send the (optional) timeout parameter.

yes, it is need

I'm voting for this. When the zabbix server is unreachable, it freezes the script...

I just sent a PR for this: #86