Skip to content

Commit 152962e

Browse files
src/_apply_pages.py: reduce frequency of statistics output if enabled.
1 parent ebf0bca commit 152962e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_apply_pages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def _worker_init(
3636

3737
def _stats_write(t, label):
3838
t = time.time() - t
39-
if t >= 0.1:
39+
if t >= 10:
4040
pymupdf.log(f'{os.getpid()=}: {t:2f}s: {label}.')
4141

4242

0 commit comments

Comments
 (0)