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
Description
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.htmlhttp://www.perforce.com/perforce/r12.2/manuals/cmdref/configure.html