Skip to content

Commit

Permalink
Fix zimit usage for --diskUtilization
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit74 committed Sep 5, 2024
1 parent 679d92d commit 9550da8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dispatcher/backend/src/common/schemas/offliners/zimit.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
from marshmallow import fields, validate

from common.schemas import SerializableSchema, String, StringEnum
from common.schemas.fields import (
validate_output,
validate_zim_description,
validate_zim_filename,
)
from marshmallow import fields, validate

# https://github.com/puppeteer/puppeteer/blob/main/src/common/DeviceDescriptors.ts
# https://github.com/puppeteer/puppeteer/blob/
Expand Down Expand Up @@ -419,8 +418,9 @@ class Meta:
disk_utilization = fields.Integer(
metadata={
"label": "Disk Utilization",
"description": "If set, save state and exit if disk utilization exceeds "
"this percentage value. Defaults to 90",
"description": "Save state and exit if disk utilization exceeds this "
"percentage value. Default (if not set) is 90%. Set to 0 to disable disk "
"utilization check.",
},
data_key="diskUtilization",
required=False,
Expand Down

0 comments on commit 9550da8

Please sign in to comment.