From 7a8cec5968875bba6d1df9db724f6eae9697ff01 Mon Sep 17 00:00:00 2001 From: croneter Date: Wed, 13 Nov 2019 17:53:46 +0100 Subject: [PATCH] Increase batch size for library sync from 500 to 2000 to increase sync speed --- resources/lib/library_sync/full_sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/library_sync/full_sync.py b/resources/lib/library_sync/full_sync.py index b0fe1f3f..c2de9aa1 100644 --- a/resources/lib/library_sync/full_sync.py +++ b/resources/lib/library_sync/full_sync.py @@ -19,7 +19,7 @@ if common.PLAYLIST_SYNC_ENABLED: LOG = getLogger('PLEX.sync.full_sync') # How many items will be put through the processing chain at once? -BATCH_SIZE = 500 +BATCH_SIZE = 2000 # Safety margin to filter PMS items - how many seconds to look into the past? UPDATED_AT_SAFETY = 60 * 5 LAST_VIEWED_AT_SAFETY = 60 * 5