Add a flag to adapt tree auto flush. Will mainly be useful for testing and special workflows. By default it does nothing and is treated as "autoconfig".
Also cleanup the code a bit.
Add a flag to adapt tree auto flush. Will mainly be useful for testing and special workflows. By default it does nothing and is treated as "autoconfig".
Also cleanup the code a bit.