Skip to content

Commit

Permalink
added an adhoc task de-duplication check
Browse files Browse the repository at this point in the history
  • Loading branch information
justinhunt committed Apr 5, 2024
1 parent 91bbf6a commit df4c2da
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 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.75 (Build 2024040500)
- Fixed missing ad-hoc task duplicate detection

Version 3.1.74 (Build 2024031100)
- Added a recorder upload commenced event
- Added feature to set default strict audio volume and remember state
Expand Down
3 changes: 2 additions & 1 deletion classes/task/adhoc_s3_move.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ 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
\core\task\manager::queue_adhoc_task($s3_task);
$checkforduplicates=true;
\core\task\manager::queue_adhoc_task($s3_task,$checkforduplicates);
}

protected function do_forever_fail($reason, $trace) {
Expand Down
5 changes: 2 additions & 3 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@

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

$plugin->version = 2024031100;
$plugin->version = 2024040500;
$plugin->requires = 2016052300;//moodle 3.1.0
$plugin->component = 'filter_poodll';
$plugin->maturity = MATURITY_STABLE;
$plugin->release = '3.1.74 (Build 2024031100)';

$plugin->release = '3.1.75 (Build 2024040500)';

0 comments on commit df4c2da

Please sign in to comment.