Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

set scm connection timeout?

 I am trying to extract workitems' reviewer information from RTC. I use Python to connect scm, and scm command similar to:  "  scm export code-review -r kg --json _UU6RMMqrEeWW1pjuq1MlnQ queryResult.json " to extract required data. When the number of workitems in the query is less than 100 or so, the script works well. However, if the number of workitems (which I am trying to extract reviewer information from) is larger, it gives me timeout error. 

Is there anyway that I can set/increase timeout?

0 votes



One answer

Permanent link
The workitem 403389 mentions that if the query has more than 100 worktiems it throws an illegal argument exception. Looks like the same issue but you are facing a time out instead of illegal argument exception. By the way, the mentioned workitem was fixed in 6.0.3.

How long does it take to timeout? I believe the default is 300 seconds.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 1,210
× 11

Question asked: Nov 15 '16, 10:33 a.m.

Question was seen: 4,397 times

Last updated: Nov 15 '16, 11:29 p.m.

Confirmation Cancel Confirm