Open xendk opened 1 year ago
I believe it's because Log::IOBackend defaults to DispatchMode::Async, which dispatches the write to a fiber which then doesn't gets scheduled before the following puts.
Log::IOBackend
DispatchMode::Async
I think the most sane fix would be setting it to sync instead.
I believe it's because
Log::IOBackend
defaults toDispatchMode::Async
, which dispatches the write to a fiber which then doesn't gets scheduled before the following puts.I think the most sane fix would be setting it to sync instead.