Skip to content

Conversation

farkob
Copy link
Contributor

@farkob farkob commented May 12, 2022

JIRA ticket

Increases Project.create_batch() timeout, since for batch sizes > 10,000 thirty seconds usually isn't enough

@farkob farkob requested a review from msokoloff1 May 12, 2022 13:58
@farkob farkob requested a review from jtsodapop May 16, 2022 12:34
res = self.client.execute(query_str, params,
res = self.client.execute(query_str,
params,
timeout=180.0,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this is change is only to accommodate project.create_batch, can we instead update the timeout for the specific method?

experimental=True)["project"][method]

res = self.client.execute(query_str, params, experimental=True, timeout=180)["project"][method]

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're updating the timeout for this method only, am I missing something here?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I was misreading the PR. Sorry about that, lgtm!

res = self.client.execute(query_str, params,
res = self.client.execute(query_str,
params,
timeout=180.0,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I was misreading the PR. Sorry about that, lgtm!

@farkob farkob merged commit 83ecb8d into develop May 16, 2022
@jtsodapop jtsodapop deleted the farkob/increase-batch-timeout branch September 14, 2022 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants