mirror of
https://github.com/ArchiveBox/ArchiveBox
synced 2024-11-26 14:10:20 +00:00
virtual-time-budget doesnt work with some chrome stuff
This commit is contained in:
parent
62078a77f8
commit
9f05cf8283
2 changed files with 7 additions and 4 deletions
|
@ -335,6 +335,8 @@ def log_archiving_paused(num_links: int, idx: int, timestamp: str):
|
|||
|
||||
def log_archiving_finished(num_links: int):
|
||||
|
||||
from core.models import Snapshot
|
||||
|
||||
end_ts = datetime.now(timezone.utc)
|
||||
_LAST_RUN_STATS.archiving_end_ts = end_ts
|
||||
assert _LAST_RUN_STATS.archiving_start_ts is not None
|
||||
|
@ -355,6 +357,8 @@ def log_archiving_finished(num_links: int):
|
|||
print(' - {} links skipped'.format(_LAST_RUN_STATS.skipped))
|
||||
print(' - {} links updated'.format(_LAST_RUN_STATS.succeeded + _LAST_RUN_STATS.failed))
|
||||
print(' - {} links had errors'.format(_LAST_RUN_STATS.failed))
|
||||
|
||||
if Snapshot.objects.count() < 50:
|
||||
print()
|
||||
print(' {lightred}Hint:{reset} To manage your archive in a Web UI, run:'.format(**ANSI))
|
||||
print(' archivebox server 0.0.0.0:8000')
|
||||
|
|
|
@ -241,7 +241,6 @@ def chrome_args(**options) -> List[str]:
|
|||
'--disable-dev-shm-usage',
|
||||
'--disable-software-rasterizer',
|
||||
'--run-all-compositor-stages-before-draw',
|
||||
f'--virtual-time-budget={options["TIMEOUT"] * 1000}',
|
||||
'--hide-scrollbars',
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue