mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-17 21:23:18 +00:00
Jarrod Johnon
8728007d1e
Fix DB corruption potential
Make sure that the dbm object is closed before another thread might come along. Out of an overabundance of caution, also join() existing cfgwriter thread to make sure that only one thread touches it at a time. In theory, it should only possibly be after the db is closed, but take no chances.
Description
Languages
Python
80.4%
Shell
15.6%
C
3.6%
Perl
0.3%