keep already started containers, multi threaded async

This commit is contained in:
2026-06-12 12:50:25 +02:00
parent 5125aed0da
commit 6aa0ab473d
4 changed files with 12 additions and 34 deletions

View File

@ -6,7 +6,7 @@
/* By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2026/05/29 21:22:17 by tomoron #+# #+# */
/* Updated: 2026/06/11 23:41:49 by tomoron ### ########.fr */
/* Updated: 2026/06/12 12:02:28 by tomoron ### ########.fr */
/* */
/* ************************************************************************** */
@ -65,7 +65,7 @@ fn cli() -> Command {
.subcommand(stop::create_subcommand())
}
#[tokio::main(flavor = "current_thread")]
#[tokio::main(flavor = "multi_thread")]
async fn main() -> Result<(), String> {
let arg = cli().get_matches();
let pool = get_connection_pool();