Skip to content

Commit

Permalink
Limit chunk_size parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
pyscht authored Jul 31, 2023
1 parent 5ea77de commit 71afaef
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions qase-python-commons/src/qaseio/commons/testops.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,7 @@ def __init__(self,
self.environment_id = environment
self.host = host
self.enabled = True
if (chunk_size > 2000):
chunk_size = 2000
self.chunk_size = int(chunk_size)
self.chunk_size = min(2000, max(10, int(chunk_size)))

if run_title and run_title != '':
self.run_title = run_title
Expand Down

0 comments on commit 71afaef

Please sign in to comment.