stream and chunk the data

This commit is contained in:
Tamo 2023-11-29 14:27:50 +01:00 committed by Clément Renault
parent be72326c0a
commit c83a33017e
No known key found for this signature in database
GPG key ID: F250A4C4E3AE5F5F
2 changed files with 54 additions and 11 deletions

View file

@ -45,7 +45,7 @@ struct WebhookHandle {
async fn create_webhook_server() -> WebhookHandle {
let mut log_builder = env_logger::Builder::new();
log_builder.parse_filters("debug");
log_builder.parse_filters("info");
log_builder.init();
let (sender, receiver) = mpsc::unbounded_channel();