gs_rewind

This commit is contained in:
aaronwell 2021-08-04 16:22:13 +08:00 committed by cchen676
parent ed81aff7ea
commit f3ac0f81ec
1 changed files with 1 additions and 1 deletions

View File

@ -3981,7 +3981,7 @@ static void do_incremental_build(uint32 term)
/* Concate connection str to primary host for performing rewind. */
errorno = sprintf_s(connstrSource,
sizeof(connstrSource),
"host=%s port=%s dbname=postgres application_name=gs_rewind connect_timeout=5",
"host=%s port=%s dbname=postgres application_name=gs_rewind connect_timeout=5 rw_timeout=600",
(streamConn->pghost != NULL) ? streamConn->pghost : streamConn->pghostaddr,
streamConn->pgport);
securec_check_ss_c(errorno, "\0", "\0");