Implement Docker healthcheck functionality and improve progress message handling
All checks were successful
Publish Twitch Archive Container / publish (push) Successful in 1m30s

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
MaddoScientisto 2026-04-25 16:46:20 +02:00
commit 9d5c707646
5 changed files with 96 additions and 7 deletions

View file

@ -612,7 +612,10 @@ class ContentDownloader:
# Show progress every 100 messages
if message_count % 100 == 0:
print(f'{Fore.CYAN} Downloaded {message_count} messages...{Style.RESET_ALL}', end='\r')
if sys.stdout.isatty():
print(f'{Fore.CYAN} Downloaded {message_count} messages...{Style.RESET_ALL}', end='\r', flush=True)
else:
print(f'{Fore.CYAN} Downloaded {message_count} messages...{Style.RESET_ALL}', flush=True)
# Show chat previews in verbose mode (every 10 messages)
if verbose and message_count % 10 == 0: