diff --git a/includes/base.inc b/includes/base.inc
index 3c89260..8792cce 100644
--- a/includes/base.inc
+++ b/includes/base.inc
@@ -435,7 +435,7 @@ abstract class MigrationBase {
     }
 
     // Record the time limit
-    $this->timeLimit = ini_get('max_execution_time');
+    $this->timeLimit = (variable_get('batch_ui_max_execution_time', 60) > ini_get('max_execution_time')) ? ini_get('max_execution_time') : variable_get('batch_ui_max_execution_time', 60);
 
     // Save the current mail system, prior to disabling emails.
     $this->saveMailSystem();
