From da20e0b4401285cc9c08ed6c73b1f3721cad830e Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 2 Apr 2022 15:09:01 +0100 Subject: [PATCH] daemon: Reorder routes in order of likely frequency I'm not sure if this is at all relevant but it seems sensible and is at worst harmless. Signed-off-by: Ian Jackson --- daemon/main.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/daemon/main.rs b/daemon/main.rs index c5c135b8..51cbd3d9 100644 --- a/daemon/main.rs +++ b/daemon/main.rs @@ -534,13 +534,13 @@ async fn main() -> Result<(),StartupError> { // them as unit structs, not functions or data values. The // result is that they are *type names* which makes them // impossible to locally rebind. + api::routes(), + session::routes(), + r_updates, r_loading_l, r_loading_p, - r_bundle, - r_updates, - session::routes(), - api::routes(), resource_routes(), + r_bundle, ]) .app_data(json_config) .app_data(templates.clone()) -- 2.30.2