fix: address track2-reconcile-cost verify findings
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -282,8 +282,13 @@ class Reconciler(BaseModel):
|
||||
max_changes: int = Field(default=100, ge=1)
|
||||
# предел скорости прохода: объектов S3 в секунду в среднем от начала
|
||||
# прохода (ключи страниц списка, HEAD, GET, DELETE); 0 — без предела
|
||||
# (design change `track2-reconcile-cost`, решение 6)
|
||||
max_objects_per_second: float = Field(default=2000.0, ge=0)
|
||||
# (design change `track2-reconcile-cost`, решение 6); `inf` и `nan` —
|
||||
# ошибка: «Started cleaner» не JSON, а пауза бессмысленна (verify S2)
|
||||
max_objects_per_second: float = Field(
|
||||
default=2000.0,
|
||||
ge=0,
|
||||
allow_inf_nan=False,
|
||||
)
|
||||
|
||||
|
||||
class Settings(BaseSettings):
|
||||
|
||||
Reference in New Issue
Block a user