Timeout in Build Forge adaptor
Hi,
There's a cleartool fnd command in one of our adaptors which runs for more than 5 minutes and causes it to time out. I need to set the value higher than 5 minutes. Where can I find this setting? The adaptor is called before the project starts (through an adaptor link). I increased the value of the Server Usage Connect Timeout, but that doesn't seem to make a difference.
Thanks,
Jozef
There's a cleartool fnd command in one of our adaptors which runs for more than 5 minutes and causes it to time out. I need to set the value higher than 5 minutes. Where can I find this setting? The adaptor is called before the project starts (through an adaptor link). I increased the value of the Server Usage Connect Timeout, but that doesn't seem to make a difference.
Thanks,
Jozef
Accepted answer
The server usage connect timeout value only specifies how long an agent should wait to receive a response once a process has been spawned.
You have two potential options.
BEST option is 1. 2 may be viable, but never tested.
1. In the adapter link, you can specify a timout value, which specifies how soon the command should timeout.
Example : <run command="UpdateEnv" params="" server="" dir="/" timeout="360"/> I believe the default is 5 minutes. So you should enter a value in seconds that is longer. Such as 360 or or 420. Higher if needed.
2. In the adapter link, you can specify a timout value, which specifies how soon the command should timeout.
The I/O timeout is 300 seconds by default. That value can be adjusted by creating BF_SOCKET_SELECT_TIMEOUT as an operating system variable and giving it a value (in seconds). You must restart the system to take action.
Let us know if this helps,
Thanks!
Comments
Ryan Ruscett
Sep 17 '13, 12:38 p.m.Let us know if this works for you, thanks!