Skip to content
Snippets Groups Projects
  1. Dec 13, 2024
  2. Dec 11, 2024
  3. Dec 10, 2024
  4. Dec 09, 2024
  5. Dec 05, 2024
  6. Dec 04, 2024
  7. Dec 03, 2024
  8. Dec 02, 2024
  9. Nov 29, 2024
  10. Nov 28, 2024
    • Richard van der Hoff's avatar
      Fix new scheduled tasks jumping the queue (#17962) · d80cd57c
      Richard van der Hoff authored
      Currently, when a new scheduled task is added and its scheduled time has
      already passed, we set it to ACTIVE. This is problematic, because it
      means it will jump the queue ahead of all other SCHEDULED tasks;
      furthermore, if the Synapse process gets restarted, it will jump ahead
      of any ACTIVE tasks which have been started but are taking a while to
      run.
      
      Instead, we leave it set to SCHEDULED, but kick off a call to
      `_launch_scheduled_tasks`, which will decide if we actually have
      capacity to start a new task, and start the newly-added task if so.
      Unverified
      d80cd57c
  11. Nov 27, 2024
Loading