From d4d2e209f720a0ad18afc8382e39abe81e5b1301 Mon Sep 17 00:00:00 2001 From: Stoyvo Date: Wed, 22 Apr 2015 09:18:04 -0400 Subject: [PATCH] fix/rig-timeout --- includes/classes/rigs.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/includes/classes/rigs.php b/includes/classes/rigs.php index dfc8fc1..dd94489 100644 --- a/includes/classes/rigs.php +++ b/includes/classes/rigs.php @@ -8,6 +8,11 @@ class Rigs extends Config_Rigs { + public function __construct() { + parent::__construct(); + set_time_limit(count($this->_objs)*3); // Total Rigs * 3 seconds + } + /* * POST */