kaskada-ai / kaskada

Modern, open-source event-processing
https://kaskada.io/
Apache License 2.0
348 stars 15 forks source link

draft: fix execution lock in session #853

Open jordanrfrazier opened 10 months ago

jordanrfrazier commented 10 months ago

Still issues around sending the future across threads, I think. Also had to use the tokio::sync::Mutex in order to hold the lock across the await, but I'm not sure that this is the correct pattern we should follow, as it may still result in a deadlock if we never receive a new batch from next.