Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Migrate to assertEqual (#18488) | Emmanuel Ferdman | 2025-06-06 | 1 | -6/+6 |
| | | | | | | | | | This small PR migrates from `unittest.assertEquals` to `unittest.assertEqual` which is deprecated from Python2.7: ```python DeprecationWarning: Please use assertEqual instead. ``` Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com> | ||||
* | Fix new scheduled tasks jumping the queue (#17962) | Richard van der Hoff | 2024-11-28 | 1 | -20/+29 |
| | | | | | | | | | | | | 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. | ||||
* | Correctly mention previous copyright (#16820) | Erik Johnston | 2024-01-23 | 1 | -0/+1 |
| | | | | | During the migration the automated script to update the copyright headers accidentally got rid of some of the existing copyright lines. Reinstate them. | ||||
* | Update license headers | Patrick Cloke | 2023-11-21 | 1 | -10/+16 |
| | |||||
* | Task scheduler: add replication notify for new task to launch ASAP (#16184) | Mathieu Velten | 2023-08-28 | 1 | -18/+40 |
| | |||||
* | Implements a task scheduler for resumable potentially long running tasks ↵ | Mathieu Velten | 2023-08-21 | 1 | -0/+186 |
(#15891) |