Enable tokio-console (#8897)

Release Notes:

- Added tokio-console in production
This commit is contained in:
Conrad Irwin
2024-03-05 10:56:14 -07:00
committed by GitHub
parent 9a2ed4bf1a
commit cfffa29f9a
5 changed files with 197 additions and 7 deletions
+1
View File
@@ -25,6 +25,7 @@ const REVISION: Option<&'static str> = option_env!("GITHUB_SHA");
#[tokio::main]
async fn main() -> Result<()> {
console_subscriber::init();
if let Err(error) = env::load_dotenv() {
eprintln!(
"error loading .env.toml (this is expected in production): {}",