Set NS delay to 10ms (instead of 100ms for monitor).
Project: http://git-wip-us.apache.org/repos/asf/trafodion/repo Commit: http://git-wip-us.apache.org/repos/asf/trafodion/commit/7d50e33c Tree: http://git-wip-us.apache.org/repos/asf/trafodion/tree/7d50e33c Diff: http://git-wip-us.apache.org/repos/asf/trafodion/diff/7d50e33c Branch: refs/heads/master Commit: 7d50e33c8822316116b476c59e639c955b49bbe3 Parents: 4fc4ad3 Author: Dave George <[email protected]> Authored: Thu Apr 12 20:43:07 2018 +0000 Committer: Dave George <[email protected]> Committed: Thu Apr 12 20:43:07 2018 +0000 ---------------------------------------------------------------------- core/sqf/monitor/linux/monitor.cxx | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafodion/blob/7d50e33c/core/sqf/monitor/linux/monitor.cxx ---------------------------------------------------------------------- diff --git a/core/sqf/monitor/linux/monitor.cxx b/core/sqf/monitor/linux/monitor.cxx index 578d158..933dee5 100755 --- a/core/sqf/monitor/linux/monitor.cxx +++ b/core/sqf/monitor/linux/monitor.cxx @@ -116,7 +116,11 @@ char MyPtPPort[MPI_MAX_PORT_NAME] = {'\0'}; char Node_name[MPI_MAX_PROCESSOR_NAME] = {'\0'}; sigset_t SigSet; bool Emulate_Down = false; +#ifdef NAMESERVER_PROCESS +long next_test_delay = 10000; // in usec. (default 10 msec) +#else long next_test_delay = 100000; // in usec. (default 100 msec) +#endif CClusterConfig *ClusterConfig = NULL; bool IAmIntegrating = false; bool IAmIntegrated = false;
