diff options
Diffstat (limited to 'classes/rpc.php')
-rw-r--r-- | classes/rpc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/rpc.php b/classes/rpc.php index 0e93cd32a..b4afc6023 100644 --- a/classes/rpc.php +++ b/classes/rpc.php @@ -699,7 +699,7 @@ class RPC extends Handler_Protected { while ($line = db_fetch_assoc($result)) { $feed_id = $line["id"]; - if (time() - $tstart < 30) { + if (time() - $tstart < ini_get("max_execution_time") * 0.7) { update_rss_feed($this->link, $feed_id, true); ++$num_updated; } else { |