1
0
Fork 0

production mode

This commit is contained in:
Arsen Mirzaev Tatyano-Muradovich 2025-03-06 05:36:38 +07:00
parent 05a9a51a0d
commit 830ba25b8d
2 changed files with 239 additions and 237 deletions

View File

@ -175,7 +175,7 @@ final class interneturok extends core
if (!empty($accounts)) {
// Initialized accounts
/* if (shuffle($accounts)) { */
if (shuffle($accounts)) {
// Shuffled accounts
foreach ($accounts as $account) {
@ -319,7 +319,7 @@ final class interneturok extends core
continue;
}
}
/* } */
}
}
// Exit (fail)
@ -642,7 +642,8 @@ final class interneturok extends core
);
return $this->browser->sendAsync($request)
->then(function ($response) use ($homework) {
->then(
function ($response) use ($homework) {
// Sended the request and received the response
// Initializing the lesson
@ -833,7 +834,8 @@ final class interneturok extends core
// Exit (fail)
return false;
}
});
}
);
}
// Exit (fail)

View File

@ -206,7 +206,7 @@ final class parser extends core
$parser = new interneturok();
// Parsing homework files
$files = $parser->parse(subject: $subject, grade: $grade, waiting: 0);
$files = $parser->parse(subject: $subject, grade: $grade, waiting: 3);
if (!empty($files)) {
// Initialized homework files