Skip to content

Commit

Permalink
Enhance retry sleep logic
Browse files Browse the repository at this point in the history
  • Loading branch information
yanghua committed Sep 21, 2024
1 parent 9cade8d commit dcbd23b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tosfs/retry.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
from typing import Any, Optional, Tuple

import requests
from poetry.core.masonry.builders.wheel import logger
from requests.exceptions import (
ConnectTimeout,
HTTPError,
Expand All @@ -31,6 +30,7 @@
)
from tos.exceptions import TosClientError, TosError, TosServerError

from tosfs.core import logger
from tosfs.exceptions import TosfsError

CONFLICT_CODE = "409"
Expand Down

0 comments on commit dcbd23b

Please sign in to comment.