History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-1933
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Maikel vd Hurk
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Add retry and network timeout option to perforce repository sync

Created: 09/Feb/14 04:04 PM   Updated: 19/Jun/15 12:27 AM
Component/s: None
Affects Version/s: 5.1.11
Fix Version/s: 6.0.20

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
Add retry and network timeout option to perforce repository sync, so instead of doing:
"p4 -p <host> -u <user> -P <password> -c <workspace> sync -f @ <changelist>"
You could do:
"p4 -r3 -vnet.maxwait=60 -p <host> -u <user> -P <password> -c <workspace> sync -f @ <changelist>"
Where -r is the number of retries and net.maxwait is the time, in seconds, before a network connection times out. More details:
http://www.perforce.com/perforce/r12.2/manuals/cmdref/sync.html
http://www.perforce.com/perforce/r12.2/manuals/cmdref/configure.html

 All   Comments   Work Log   Change History      Sort Order:
Robin Shen [13/Jun/15 12:16 AM]
In next patch release this can be added via additional sync options field in advanced setting of Perforce repository definition

Maikel vd Hurk [12/Jun/15 03:39 PM]
Is there any possibility to enable this options to set for the perforce plugin? It are just client settings and the command will only return after the set attempts are done