Skip to content

Commit 554382b

Browse files
committed
Increase client timeout to 360 seconds
1 parent 5aa1f51 commit 554382b

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

tools/python/liveanalytics_influxdb3_migration_plugin/liveanalytics_migration_client/liveanalytics_influxdb3_migration_client.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def __init__(
3535
liveanalytics_database: str,
3636
s3_bucket_name: str,
3737
resume_migration: bool = False,
38-
timeout_seconds: int = 120,
38+
timeout_seconds: int = 360, # 6 minutes.
3939
region: str = "us-west-2",
4040
max_parquet_files: int | None = None,
4141
) -> None:
@@ -1396,10 +1396,10 @@ def main(input_args) -> int:
13961396
)
13971397
parser.add_argument(
13981398
"--timeout-seconds",
1399-
default=120,
1399+
default=360,
14001400
type=int,
14011401
required=False,
1402-
help="The number of seconds to wait for each Parquet file migration. Defaults to 120.",
1402+
help="The number of seconds to wait for each Parquet file migration. Defaults to 360.",
14031403
)
14041404
parser.add_argument(
14051405
"--resume",
@@ -1462,4 +1462,3 @@ def main(input_args) -> int:
14621462

14631463
if __name__ == "__main__":
14641464
main(sys.argv[1:])
1465-

0 commit comments

Comments
 (0)