mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-15 12:17:47 +00:00
Clear transaction count on config clear
A clear configuration should have 0 transactions.
This commit is contained in:
parent
c6a0aeca3b
commit
5588712320
@ -474,7 +474,7 @@ def stop_leading():
|
||||
def clear_configuration():
|
||||
global _cfgstore
|
||||
_cfgstore = {}
|
||||
todelete = _config_areas + ('globals', 'collective')
|
||||
todelete = _config_areas + ('globals', 'collective', 'transactioncount')
|
||||
for cfg in todelete:
|
||||
try:
|
||||
os.remove(os.path.join(ConfigManager._cfgdir, cfg))
|
||||
|
Loading…
x
Reference in New Issue
Block a user