mirror of
https://github.com/meineerde/rackstash.git
synced 2025-10-17 14:01:01 +00:00
Each flow now has an associated executor which performs all actions (writing events, closing, reopening) asynchronously by default using a Concurrent::SingleThreadExecutor. This improves the responsiveness of the application by performing the (usually) IO-bound task of writing the logs to a background thread. By creating a flow with `synchronous: true`, all actions are run in the calling thread as before, making the flow blocking.