mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-25 18:40:06 -04:00
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:
parent
1e37f0d4dd
commit
2e1cb4bfaf
3 changed files with 161 additions and 60 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue