summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/exe/fetch.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/exe/fetch.php b/lib/exe/fetch.php
index 92572b6ef..f41339bdc 100644
--- a/lib/exe/fetch.php
+++ b/lib/exe/fetch.php
@@ -133,7 +133,7 @@ function sendFile($file,$mime,$cache){
$chunk = ($len > CHUNK_SIZE) ? CHUNK_SIZE : $len;
while (!feof($fp) && $chunk > 0) {
- @set_time_limit(); // large files can take a lot of time
+ @set_time_limit(30); // large files can take a lot of time
print fread($fp, $chunk);
flush();
$len -= $chunk;