fix: don't try to mount env logger twice

This commit is contained in:
izzy
2025-05-13 11:16:28 +01:00
parent be89e62d54
commit 5362e84730

View File

@@ -24,9 +24,6 @@ use consumers::{
#[tokio::main(flavor = "multi_thread", worker_threads = 2)]
async fn main() {
let config = config().await;
pretty_env_logger::init();
// Configure logging and environment
revolt_config::configure!(pushd);
@@ -55,6 +52,8 @@ async fn main() {
// This'll require some interesting shimming if we need to add more events once this is in prod (different payloads between prod and test),
// but that sounds like a problem for future us.
let config = config().await;
// inbound: generic
connections.push(
make_queue_and_consume(