Skip to content

Commit 40a309a

Browse files
authored
Fix "shutdown_timeout" typing (#1256)
Change "shutdown_timeout" typing from `int` -> `float`
1 parent b0826fe commit 40a309a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/consts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def __init__(
5252
release=None, # type: Optional[str]
5353
environment=None, # type: Optional[str]
5454
server_name=None, # type: Optional[str]
55-
shutdown_timeout=2, # type: int
55+
shutdown_timeout=2, # type: float
5656
integrations=[], # type: Sequence[Integration] # noqa: B006
5757
in_app_include=[], # type: List[str] # noqa: B006
5858
in_app_exclude=[], # type: List[str] # noqa: B006

0 commit comments

Comments
 (0)