Implement Docker healthcheck functionality and improve progress message handling
All checks were successful
Publish Twitch Archive Container / publish (push) Successful in 1m30s
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:
parent
cd3e37ff59
commit
9d5c707646
5 changed files with 96 additions and 7 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue