Skip to content

Commit bd3dd35

Browse files
committed
Changed default value for asyncFetch
1 parent 6ac8412 commit bd3dd35

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/Lms/Canvas/CanvasLms.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,9 @@ public function updateCourseContent(Course $course, User $user, $force = false):
363363

364364
// Batch page pulling maintenance
365365
$pageUrls = [];
366-
$asyncFetch = true;
366+
367+
// Due to the sequential calls, this field being true currently makes the process a lot slower.
368+
$asyncFetch = false;
367369

368370
$start_time = microtime(true);
369371
foreach ($urls as $contentType => $url) {

0 commit comments

Comments
 (0)