Skip to content

Commit

Permalink
Update batch sizes for overdrive monitors (#2064)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathangreen authored Sep 17, 2024
1 parent 300c2f7 commit 98ae71b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/palace/manager/api/overdrive.py
Original file line number Diff line number Diff line change
Expand Up @@ -2112,6 +2112,7 @@ class OverdriveCollectionReaper(IdentifierSweepMonitor):

SERVICE_NAME = "Overdrive Collection Reaper"
PROTOCOL = OverdriveAPI.label()
DEFAULT_BATCH_SIZE = 10

def __init__(self, _db, collection, api_class=OverdriveAPI):
super().__init__(_db, collection)
Expand Down Expand Up @@ -2163,7 +2164,7 @@ class OverdriveFormatSweep(IdentifierSweepMonitor):
"""

SERVICE_NAME = "Overdrive Format Sweep"
DEFAULT_BATCH_SIZE = 25
DEFAULT_BATCH_SIZE = 10
PROTOCOL = OverdriveAPI.label()

def __init__(self, _db, collection, api_class=OverdriveAPI):
Expand Down

0 comments on commit 98ae71b

Please sign in to comment.