-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ref(actix): Migrate ProjectUpstream to
relay_system::Service
(#1727)
Remove `actix` actor implementation and replace it with `relay_system::Service`. Also replaces old `futures01` with new `futures`, and use `tokio::spawn` to schedule the task which fetches the `ProjectState`'s from upstream. In order to do that I had to change how the scheduling is working, so the entire service won't be blocking: - introduces the internal state channel - use messages to pass the current state around, like reset the backoff period or schedule the another fetch - the internal message have also higher priority right now
- Loading branch information
Showing
4 changed files
with
312 additions
and
256 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.