server: Print version on startup

This commit is contained in:
Valentin Tolmer 2022-07-01 14:23:50 +02:00 committed by nitnelave
parent b387ceb1c4
commit 4092b2e5b1

View File

@ -48,7 +48,7 @@ async fn create_admin_user(handler: &SqlBackendHandler, config: &Configuration)
#[instrument(skip_all)] #[instrument(skip_all)]
async fn set_up_server(config: Configuration) -> Result<ServerBuilder> { async fn set_up_server(config: Configuration) -> Result<ServerBuilder> {
info!("Starting LLDAP...."); info!("Starting LLDAP version {}", env!("CARGO_PKG_VERSION"));
let sql_pool = PoolOptions::new() let sql_pool = PoolOptions::new()
.max_connections(5) .max_connections(5)