4b9c907b68
Since hyper can spawn() more tasks, when we stop passing `WorkerTask` references down the stack, we still need to be able to *inherit* the current logging context. Hyper provides a way to replace its used `spawn()` method, so we need to provide a way to reuse the logging context. Instead of having the `FileLogger` and warn counter separately available with local-only access, put them behind an Arc<Mutex<>>. Previously they already *were* behind an Arc<Mutex<>> as part of the WorkerTaskState. Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> |
||
---|---|---|
.. | ||
debian | ||
examples | ||
src | ||
Cargo.toml |