File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1313////
1414//// pub fn start_supervisor() -> {
1515//// supervisor.new(supervisor.OneForOne)
16- //// |> supervisor.add(database_pool.specification ())
17- //// |> supervisor.add(http_server.specification ())
16+ //// |> supervisor.add(database_pool.supervised ())
17+ //// |> supervisor.add(http_server.supervised ())
1818//// |> supervisor.start
1919//// }
2020//// ```
@@ -88,8 +88,8 @@ pub type AutoShutdown {
8888///
8989/// pub fn start_supervisor() -> {
9090/// supervisor.new(supervisor.OneForOne)
91- /// |> supervisor.add(database_pool.specification ())
92- /// |> supervisor.add(http_server.specification ())
91+ /// |> supervisor.add(database_pool.supervised ())
92+ /// |> supervisor.add(http_server.supervised ())
9393/// |> supervisor.start
9494/// }
9595/// ```
You can’t perform that action at this time.
0 commit comments