Skip to content

Commit

Permalink
pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
joente committed Oct 18, 2024
1 parent 45d442a commit c694848
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion lib/check/zfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
from ..utils import get_token



async def check_zfs(
asset: Asset,
asset_config: dict,
Expand Down
3 changes: 2 additions & 1 deletion lib/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
DEFAULT_API_VERSION = 'v2' # v1 or v2
DEFAULT_SECURE = True
DEFAULT_PORT = 215
#MAX_TOKEN_AGE is usually 15 minutes, we choose 12 minutes to be safe

# MAX_TOKEN_AGE is usually 15 minutes, we choose 12 minutes to be safe
MAX_TOKEN_AGE = 720

# Token registration; Prevent new tokens for each request
Expand Down

0 comments on commit c694848

Please sign in to comment.