diff --git a/controllers/show.php b/controllers/show.php
index cb521adc229ab329a24d0030120b53239dba68f7..878dd73a1d75e60c85396a0b2dce2b37424608d9 100644
--- a/controllers/show.php
+++ b/controllers/show.php
@@ -71,6 +71,8 @@ class ShowController extends StudipController
                                          GROUP BY lvgruppe_id", [$version_id]);
         }
 
+        set_time_limit(0);
+
         try {
             $hisinone_sync = new HISinOneSync();
             $hisinone_sync->sync_courses($lvgs, $semester, $update, $update_studip);