diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-06-21 17:37:44 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2016-06-22 10:29:40 +0200 |
commit | ec968a48e44159c1bb323d6ea3be3388277d7928 (patch) | |
tree | 82e5b19284b6f0bef067e4f082f68ca0214d1079 /apps/federatedfilesharing/lib/Notifications.php | |
parent | 3e763ac81e895d2b4af18af2bcd7a31e25da4cf6 (diff) | |
download | nextcloud-server-ec968a48e44159c1bb323d6ea3be3388277d7928.tar.gz nextcloud-server-ec968a48e44159c1bb323d6ea3be3388277d7928.zip |
Increase fed share timeout from 3 to 10 + unit tests
Diffstat (limited to 'apps/federatedfilesharing/lib/Notifications.php')
-rw-r--r-- | apps/federatedfilesharing/lib/Notifications.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/federatedfilesharing/lib/Notifications.php b/apps/federatedfilesharing/lib/Notifications.php index 575521d564d..fefa959ba37 100644 --- a/apps/federatedfilesharing/lib/Notifications.php +++ b/apps/federatedfilesharing/lib/Notifications.php @@ -288,8 +288,8 @@ class Notifications { try { $response = $client->post($protocol . $remoteDomain . $endpoint . $urlSuffix . '?format=' . self::RESPONSE_FORMAT, [ 'body' => $fields, - 'timeout' => 3, - 'connect_timeout' => 3, + 'timeout' => 10, + 'connect_timeout' => 10, ]); $result['result'] = $response->getBody(); $result['success'] = true; |