Grace interval on restart of hbd, fix SIGHUP processing

This commit is contained in:
Andreas Wrede
2026-04-10 12:58:38 -04:00
parent 3426185383
commit 2015195112
3 changed files with 12 additions and 5 deletions
+4
View File
@@ -130,6 +130,10 @@ async def reload_configuration(config_obj, config_path, components):
async def _run_async(config, config_path=None):
from .config import ReloadableConfig
if not isinstance(config, ReloadableConfig):
config = ReloadableConfig(config, config_path)
loop = asyncio.get_running_loop()
shutdown_event = asyncio.Event()
reload_event = asyncio.Event()