diff --git a/migrate/includes/base.inc b/migrate/includes/base.inc
index 2369fbd..c47f967 100644
--- a/migrate/includes/base.inc
+++ b/migrate/includes/base.inc
@@ -430,7 +430,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);
 
     // Prevent any emails from being sent out on migration
     global $conf;
