Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Cleaned up JSON unmarshalling code | Alex Grönholm | 2022-07-27 | 1 | -2/+2 | |
| | ||||||
* | Improved the scheduler lifecycle management | Alex Grönholm | 2022-07-27 | 2 | -48/+121 | |
| | | | | Both sync and async schedulers now have consistently working stop() and wait_until_stopped() methods. | |||||
* | Fixed get_task() failing in SQLAlchemy data stores | Alex Grönholm | 2022-07-27 | 2 | -6/+6 | |
| | ||||||
* | Fixed asyncpg event broker not having a "serializer" attribute | Alex Grönholm | 2022-07-24 | 1 | -4/+9 | |
| | ||||||
* | Fixed CancelScope errors when the startup or shutdown of ↵ | Alex Grönholm | 2022-07-24 | 1 | -4/+11 | |
| | | | | AsyncDataStoreAdapter is cancelled | |||||
* | Added support for starting the sync scheduler (and worker) without the ↵ | Alex Grönholm | 2022-07-19 | 20 | -753/+827 | |
| | | | | context manager | |||||
* | Fixed return type annotation of AsyncpgEventBroker.__aenter__() | Alex Grönholm | 2022-07-19 | 1 | -1/+1 | |
| | ||||||
* | Wait until the scheduler has stopped before returning from stop() | Alex Grönholm | 2022-07-19 | 1 | -9/+12 | |
| | ||||||
* | Added the start_in_background() and run_until_stopped() methods to Scheduler | Alex Grönholm | 2022-07-19 | 1 | -54/+57 | |
| | ||||||
* | fix: Remove duplicate log (#628) | Gol | 2022-05-23 | 1 | -1/+0 | |
| | | | When AsyncWorker is stopped normally, after the "Worker stopped" log, there is also a "Worker crashed" log, which should be removed it. | |||||
* | Fixed test failures | Alex Grönholm | 2022-04-26 | 1 | -2/+3 | |
| | ||||||
* | Fixed SQLAlchemy stores failing on multiple schedule release | Alex Grönholm | 2022-04-20 | 2 | -19/+6 | |
| | | | | | This only happened where RETURNING was supported for updates (PostgreSQL). Fixes #621. | |||||
* | Don't share retry states | Alex Grönholm | 2022-04-20 | 3 | -76/+66 | |
| | | | | Fixes #618. | |||||
* | Switched to Black for code formatting | Alex Grönholm | 2022-04-20 | 34 | -889/+1719 | |
| | ||||||
* | Fixed wrong indentation in async scheduler | Alex Grönholm | 2022-04-18 | 1 | -2/+2 | |
| | | | | The line that releases schedules after processing was indented wrong, releasing the schedules too early. | |||||
* | Added missing raise statement to async scheduler crash handler | Alex Grönholm | 2022-04-18 | 1 | -0/+1 | |
| | ||||||
* | Fixed ValueError in memory store | Alex Grönholm | 2022-04-18 | 1 | -1/+3 | |
| | | | | | | This occurred when two schedules were released simultaneously, with one being finished and one still running. Fixes #616. | |||||
* | Fixed scheduler waking up unnecessarily | Alex Grönholm | 2022-02-15 | 2 | -21/+39 | |
| | | | | Added checks to make the scheduler only wake up if there is a new or updated schedule that would trigger sooner than the previously nearest known schedule | |||||
* | Added py.typed to the package directory | Alex Grönholm | 2022-02-15 | 1 | -0/+0 | |
| | ||||||
* | Reduced the number of mypy errors | Alex Grönholm | 2022-02-15 | 2 | -10/+14 | |
| | ||||||
* | Upgraded syntax and switched linting over to pre-commit.ci | Alex Grönholm | 2022-01-02 | 28 | -165/+168 | |
| | | | | Linting checks are now run by pre-commit.ci instead of GitHub Actions. | |||||
* | Fixed compatibility with pymongo 4 | Alex Grönholm | 2022-01-02 | 1 | -2/+8 | |
| | ||||||
* | Upgraded redis dependency | Alex Grönholm | 2022-01-02 | 1 | -4/+2 | |
| | ||||||
* | Upgraded attrs and its imports | Alex Grönholm | 2022-01-02 | 27 | -276/+283 | |
| | | | | We now import "attrs" instead of "attr". | |||||
* | Used an augmented assignment statement | Alex Grönholm | 2021-11-04 | 1 | -1/+1 | |
| | | | | Closes #571. | |||||
* | Improved scheduler and worker crash handling | Alex Grönholm | 2021-10-02 | 4 | -21/+29 | |
| | ||||||
* | Filled in some missing type annotations | Alex Grönholm | 2021-10-02 | 5 | -21/+20 | |
| | ||||||
* | Added the ability to retry operations to all persistent data stores | Alex Grönholm | 2021-09-26 | 4 | -627/+784 | |
| | ||||||
* | Removed the notify_channel parameter | Alex Grönholm | 2021-09-26 | 1 | -1/+0 | |
| | | | | It's not longer used directly in the SQLAlchemy stores. | |||||
* | Lock schedules and jobs for update while acquiring | Alex Grönholm | 2021-09-26 | 2 | -2/+4 | |
| | ||||||
* | Improved scheduler logging and fixed wait time calculation | Alex Grönholm | 2021-09-23 | 2 | -7/+28 | |
| | ||||||
* | Fixed a couple of bugs in the SQLAlchemy data stores | Alex Grönholm | 2021-09-23 | 2 | -5/+6 | |
| | ||||||
* | Refactored scheduler and worker classes to use attrs | Alex Grönholm | 2021-09-22 | 6 | -85/+101 | |
| | ||||||
* | Implemented context-local variables for running jobs | Alex Grönholm | 2021-09-21 | 6 | -8/+72 | |
| | ||||||
* | Implemented schedule-level jitter | Alex Grönholm | 2021-09-21 | 6 | -56/+161 | |
| | | | | Structures now keep enums, timedeltas and frozensets as-is. The MongoDB store was modified to use a custom type registry to handle this. | |||||
* | Added scheduler methods for creating jobs directly w/o schedules | Alex Grönholm | 2021-09-13 | 11 | -88/+262 | |
| | ||||||
* | Removed debugging code | Alex Grönholm | 2021-09-13 | 1 | -1/+0 | |
| | ||||||
* | Implemented one-shot event subscriptions | Alex Grönholm | 2021-09-13 | 6 | -22/+40 | |
| | | | | Such subscriptions are delivered the first matching event and then unsubscribed automatically. | |||||
* | Guard subscriptions in the synchronous local event broker with a lock | Alex Grönholm | 2021-09-12 | 1 | -4/+12 | |
| | | | | This allows the local event broker to safely iterate through the original list of subscriptions while publishing an event, instead of having to atomically make a shallow copy every time. | |||||
* | Added context manager support to event subscriptions | Alex Grönholm | 2021-09-12 | 6 | -34/+40 | |
| | ||||||
* | Improved the event subscription system | Alex Grönholm | 2021-09-12 | 12 | -145/+107 | |
| | | | | The subscribe() method now returns a subscription which has the unsubscribe() method in itself. | |||||
* | Refactored event brokers to use exit stacks | Alex Grönholm | 2021-09-12 | 9 | -55/+62 | |
| | ||||||
* | Reduced the number of job completion events | Alex Grönholm | 2021-09-12 | 5 | -69/+26 | |
| | ||||||
* | Implemented a pluggable event broker system | Alex Grönholm | 2021-09-11 | 22 | -315/+681 | |
| | ||||||
* | Deduplicated some SQLAlchemy store code | Alex Grönholm | 2021-09-08 | 2 | -145/+53 | |
| | ||||||
* | Rearranged the data stores | Alex Grönholm | 2021-09-08 | 10 | -71/+50 | |
| | ||||||
* | More type annotation updates | Alex Grönholm | 2021-09-08 | 12 | -27/+29 | |
| | ||||||
* | Converted more classes to use attrs | Alex Grönholm | 2021-09-08 | 6 | -97/+86 | |
| | ||||||
* | Serialize top level attributes into individual fields/columns | Alex Grönholm | 2021-09-08 | 9 | -211/+284 | |
| | ||||||
* | Use the real UUID column type where supported | Alex Grönholm | 2021-09-06 | 2 | -28/+64 | |
| |