mirror of https://github.com/citusdata/citus.git
Merge pull request #3797 from citusdata/increase_the_timeout
Increase the default value of `citus.node_connection_timeout`pull/3803/head
commit
50346d0b42
|
@ -41,7 +41,7 @@
|
||||||
#include "utils/memutils.h"
|
#include "utils/memutils.h"
|
||||||
|
|
||||||
|
|
||||||
int NodeConnectionTimeout = 5000;
|
int NodeConnectionTimeout = 30000;
|
||||||
int MaxCachedConnectionsPerWorker = 1;
|
int MaxCachedConnectionsPerWorker = 1;
|
||||||
|
|
||||||
HTAB *ConnectionHash = NULL;
|
HTAB *ConnectionHash = NULL;
|
||||||
|
|
|
@ -450,7 +450,7 @@ RegisterCitusConfigVariables(void)
|
||||||
gettext_noop("Sets the maximum duration to connect to worker nodes."),
|
gettext_noop("Sets the maximum duration to connect to worker nodes."),
|
||||||
NULL,
|
NULL,
|
||||||
&NodeConnectionTimeout,
|
&NodeConnectionTimeout,
|
||||||
5 * MS_PER_SECOND, 10 * MS, MS_PER_HOUR,
|
30 * MS_PER_SECOND, 10 * MS, MS_PER_HOUR,
|
||||||
PGC_USERSET,
|
PGC_USERSET,
|
||||||
GUC_UNIT_MS | GUC_STANDARD,
|
GUC_UNIT_MS | GUC_STANDARD,
|
||||||
NULL, NULL, NULL);
|
NULL, NULL, NULL);
|
||||||
|
|
Loading…
Reference in New Issue