Avoid reentrant error in signal_handler.

This commit is contained in:
tecnovert
2025-01-30 15:20:37 +02:00
parent c7818f5fac
commit a0456cb689
4 changed files with 33 additions and 24 deletions

View File

@@ -1990,7 +1990,7 @@ def load_config(config_path):
def signal_handler(sig, frame):
logger.info(f"Signal {sig} detected")
os.write(sys.stdout.fileno(), f"Signal {sig} detected.\n".encode("utf-8"))
def check_btc_fastsync_data(base_dir, sync_filename):