diff options
author | sualko <klaus@jsxc.org> | 2020-10-06 14:41:55 +0300 |
---|---|---|
committer | sualko <klaus@jsxc.org> | 2020-10-06 14:41:55 +0300 |
commit | dcf469ad4ab3b5635b49cffbb66232a140a584dc (patch) | |
tree | d678b255274d93bab77347d4817d23a075ea9f6e | |
parent | e8e0528aa60e095ebbda508118bc0e983eeeebee (diff) |
fix: increase timeout to register managed server
fix jsxc/jsxc#941
-rw-r--r-- | lib/DataRetriever.php | 3 | ||||
-rw-r--r-- | templates/settings/admin.php | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/DataRetriever.php b/lib/DataRetriever.php index 4cefd3a..eda9ad3 100644 --- a/lib/DataRetriever.php +++ b/lib/DataRetriever.php @@ -11,7 +11,8 @@ class DataRetriever implements IDataRetriever 'method' => 'POST', 'ignore_errors' => '1', 'header' => 'Content-type: application/x-www-form-urlencoded', - 'content' => http_build_query($data) + 'content' => http_build_query($data), + 'timeout' => 120, ] ]); diff --git a/templates/settings/admin.php b/templates/settings/admin.php index 9491851..b04a2e6 100644 --- a/templates/settings/admin.php +++ b/templates/settings/admin.php @@ -129,7 +129,7 @@ function printRadioInput($key, $value, $required=true) { <div class="ojsxc-managed-registration <?php if($_['managedServer'] === 'registered'){echo 'hidden';} ?>"> <p class="text">In order to create a managed XMPP server for you, we will send the following information to - our registration server. The set-up process will take about 20-30 seconds.</p> + our registration server. The set-up process will take about 1-2 minutes.</p> <div class="form-group"> <label>API URL</label> |