Skip to content

Commit

Permalink
removed check-for-duplicates in s3 move adhoc task as it was preventi…
Browse files Browse the repository at this point in the history
…ng task retries
  • Loading branch information
justinhunt committed Apr 23, 2024
1 parent 7fda397 commit 731f5de
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Change List
=========
Version 3.1.79 (Build 2024042301)
- Removed check-for-duplicates in adhoc_s3_move task, as it was not working as intended, and causing files to not be retrieved

Version 3.1.78 (Build 2024042300)
- Added logging to taskrunner, and created a 3 minute window before trashing ad hoc tasks that fail. To give task runner a chance at them.

Expand Down
2 changes: 1 addition & 1 deletion classes/task/adhoc_s3_move.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ protected function do_retry($reason, $trace, $customdata, $delay) {
//if we do not set the next run time it can extend the current cron job indef with a recurring task
$s3_task->set_next_run_time(time()+$delay);
// queue it
$checkforduplicates=true;
$checkforduplicates=false;
\core\task\manager::queue_adhoc_task($s3_task,$checkforduplicates);
}

Expand Down
4 changes: 2 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@

defined('MOODLE_INTERNAL') || die();

$plugin->version = 2024042300;
$plugin->version = 2024042301;
$plugin->requires = 2016052300;//moodle 3.1.0
$plugin->component = 'filter_poodll';
$plugin->maturity = MATURITY_STABLE;
$plugin->release = '3.1.78 (Build 2024042300)';
$plugin->release = '3.1.79 (Build 2024042301)';

0 comments on commit 731f5de

Please sign in to comment.