vadv/zabbixapi — pull request #35 by scouratier (2013-10-28 20:30:56+00:00)
Title: Timeout for http

Just a few lines of code to adjust the time the client will wait for a response from the server before closing the connection. Default is 60seconds.

I have a few templates that take longer to import than that =(.

Connection is created like this:

zbx = ZabbixApi.connect(
:url => url,
:user => user,
:password => password,
:timeout => 600 )

Cheers!