Skip to content

Commit 0b6348a

Browse files
committed
Reflect comments
1 parent 6d8acc1 commit 0b6348a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rfcs/migrate-to-async-hyper.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
2. Make `main` an `async fn` with `#[tokio::main]` to start the tokio runtime, add the `hyper` dependency and migrate the side services to async (By side services I mean the ones in the daemon)
88

9-
3. Move all routing to `hyper`, separate the handlers out from being within `iron` code and forward requests with `spawn_blocking`
9+
3. Add a catch-all handler that uses `hyper`, so that any requests not picked up by `iron` are handled by hyper
1010
1. Routes should be migrated to asynchronous code from least used to most used
1111

1212
4. Switch from `postgres` to `tokio-postgres` for database interaction

0 commit comments

Comments
 (0)