Browse Source

set connection_timeout

andre 1 year ago
parent
commit
b176f4a892
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Libs/Zimbra/Components/Api/Soap/Connection.php

+ 1 - 0
app/Libs/Zimbra/Components/Api/Soap/Connection.php

@@ -113,6 +113,7 @@ class Connection implements ConnectionInterface
             [
             [
                 'location'       => $location,
                 'location'       => $location,
                 'uri'            => $uri,
                 'uri'            => $uri,
+                'default_socket_timeout' => 10,
                 'trace'          => 1,
                 'trace'          => 1,
                 'exceptions'     => 1,
                 'exceptions'     => 1,
                 'soap_version'   => SOAP_1_2,
                 'soap_version'   => SOAP_1_2,