mod_http_upload: Increase the upload slot timeout

If a large file was uploaded over a slow connection, the slot might've
timed out before the upload was completed.
This commit is contained in:
Holger Weiss 2015-10-21 23:25:30 +02:00
parent 5964ad412e
commit 14c3b13a11
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@
-define(NS_HTTP_UPLOAD, <<"urn:xmpp:http:upload">>).
-define(NS_HTTP_UPLOAD_OLD, <<"eu:siacs:conversations:http:upload">>).
-define(SERVICE_REQUEST_TIMEOUT, 5000). % 5 seconds.
-define(SLOT_TIMEOUT, 600000). % 10 minutes.
-define(SLOT_TIMEOUT, 18000000). % 5 hours.
-define(PROCNAME, ?MODULE).
-define(URL_ENC(URL), binary_to_list(ejabberd_http:url_encode(URL))).
-define(ADDR_TO_STR(IP), ejabberd_config:may_hide_data(jlib:ip_to_list(IP))).