Fixing bug in file refreshing where old file locations were not removed from the DB because they shared a their original stem.

This commit is contained in:
Roland 2026-03-11 15:03:30 -06:00
parent 1e37f0d4dd
commit 2e1cb4bfaf
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680
3 changed files with 161 additions and 60 deletions

View file

@ -595,7 +595,7 @@ async def restart_kiwix():
if DOCKERIZED:
logger.info('Restarting Kiwix via controller API')
try:
async with aiohttp_post(f'{CONTROLLER_SERVICE}/api/services/zim/restart',
async with aiohttp_post(f'{CONTROLLER_SERVICE}/api/services/zim/restart', None,
timeout=Seconds.minute) as response:
if response.status == 200:
logger.info('Successfully restarted Kiwix container')