Skip to content

Commit

Permalink
6.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
scottjpearson committed Nov 22, 2023
1 parent 04814f2 commit f137663
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 71 deletions.
2 changes: 1 addition & 1 deletion CareerDev.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class CareerDev {
public static $passedModule = NULL;

public static function getVersion() {
return "6.2.3";
return "6.2.4";
}

public static function getLockFile($pid) {
Expand Down
4 changes: 2 additions & 2 deletions classes/Crons.php
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ public function runBatchJobs($numRunBeforeInCron = 0) {

Application::log("Currently running ".$firstBatchQueue['method']." for pid ".$firstBatchQueue['pid']." with status ".$firstBatchQueue['status'], $firstBatchQueue['pid']);
if ($firstBatchQueue['status'] == "RUN") {
$startTs = isset($firstBatchQueue['startTs']) && is_numeric($batchQueue[0]['startTs']) ? $firstBatchQueue['startTs'] : 0;
$startTs = isset($firstBatchQueue['startTs']) && is_numeric($firstBatchQueue['startTs']) ? $firstBatchQueue['startTs'] : 0;
$timespan = 90 * 60; // max of 90 minutes per segment
Application::log("Running until ".date("Y-m-d H:i:s", $startTs + $timespan));
if (time() > $startTs + $timespan) {
Expand All @@ -593,7 +593,7 @@ public function runBatchJobs($numRunBeforeInCron = 0) {
}
if (in_array($firstBatchQueue['status'], ["DONE", "ERROR"])) {
if ($firstBatchQueue['status'] == "ERROR") {
Application::log("Saving ERROR ".json_encode($batchQueue[0]));
Application::log("Saving ERROR ".json_encode($firstBatchQueue));
$errorJobs = self::getErrorsFromDB();
self::addErrorToDB($firstBatchQueue, $errorJobs);
}
Expand Down
3 changes: 3 additions & 0 deletions reporting/upload_react/run/main.117cd721.js

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions reporting/upload_react/run/main.59588454.js

This file was deleted.

64 changes: 0 additions & 64 deletions reporting/upload_react/run/main.59588454.js.LICENSE.txt

This file was deleted.

1 change: 0 additions & 1 deletion reporting/upload_react/run/main.59588454.js.map

This file was deleted.

0 comments on commit f137663

Please sign in to comment.