Skip to content

Commit 292755c

Browse files
Moved cookies to temp request dir for parallel workers #193
1 parent caf01c9 commit 292755c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/robot/crawler.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1089,7 +1089,7 @@ private static function determine_filesize($curlhandle, $method, $success, $body
10891089
public function scrape($url) {
10901090

10911091
global $CFG;
1092-
$cookiefilelocation = $CFG->dataroot . '/tool_crawler_cookies.txt';
1092+
$cookiefilelocation = make_request_directory() . '/tool_crawler_cookies.txt';
10931093
$config = self::get_config();
10941094

10951095
$version = moodle_major_version();

0 commit comments

Comments
 (0)