bareos: master 7e73ac02

Author Committer Branch Timestamp Parent
arogge arogge master 2021-12-31 13:29 master 74b9bc4d Pending
Changeset python-dir: fix plugin-context confusion

Previously when running multiple jobs concurrently, the python plugin
would not always set the right context before running the python
callback function.
This patch makes the context thread_local and resets it before every
callback.
mod - core/src/plugins/dird/python/module/bareosdir.h Diff File
mod - core/src/plugins/dird/python/python-dir.cc Diff File