Skip to content

Commit f316833

Browse files
committed
Rewrite internal architecture to be more flexible
The internal scheduling architecture was rewritten: Instead of using one task per dispatch that will start/stop them, we now have a queue of events and a timer that is rescheduled to the earliest next event each time it triggers. Previously we had to do complicated re-scheduling and cancelling of tasks, now we always just update the event in the queue. Signed-off-by: Mathias L. Baumann <[email protected]>
1 parent 8d25f60 commit f316833

File tree

3 files changed

+385
-152
lines changed

3 files changed

+385
-152
lines changed

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,10 @@ dependencies = [
4040
# mkdocs.yml file when changing the version here (look for the config key
4141
# plugins.mkdocstrings.handlers.python.import)
4242
"frequenz-sdk == 1.0.0-rc900",
43-
"frequenz-channels >= 1.1.0, < 2.0.0",
43+
# "frequenz-channels >= 1.1.0, < 2.0.0",
44+
"frequenz-channels @ git+https://github.com/frequenz-floss/frequenz-channels-python.git@refs/pull/323/head",
4445
# "frequenz-client-dispatch >= 0.6.0, < 0.7.0",
45-
"frequenz-client-dispatch @ git+https://github.com/frequenz-floss/frequenz-client-dispatch-python.git@v0.x.x",
46+
"frequenz-client-dispatch @ git+https://github.com/frequenz-floss/frequenz-client-dispatch-python.git@refs/pull/87/head",
4647
]
4748
dynamic = ["version"]
4849

0 commit comments

Comments
 (0)