main: Manage db pool state
Signed-off-by: supercmmetry <vishaals2000@gmail.com>
This commit is contained in:
parent
2f904690b5
commit
f5f4099e82
@ -31,6 +31,7 @@ fn main() {
|
||||
|
||||
rocket = api::routes::fuel(rocket);
|
||||
|
||||
rocket.manage(logger)
|
||||
.launch();
|
||||
rocket.manage(utils::db::pool())
|
||||
.manage(logger)
|
||||
.launch();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user