main: Manage db pool state

Signed-off-by: supercmmetry <vishaals2000@gmail.com>
This commit is contained in:
supercmmetry 2020-06-24 14:36:52 +05:30
parent 2f904690b5
commit f5f4099e82
No known key found for this signature in database
GPG Key ID: 8E60EF28A328E40D

View File

@ -31,6 +31,7 @@ fn main() {
rocket = api::routes::fuel(rocket);
rocket.manage(logger)
.launch();
rocket.manage(utils::db::pool())
.manage(logger)
.launch();
}