Commit 71779d5e authored by Ivan Tyagov's avatar Ivan Tyagov

Setup maximum of 127 couplers.

parent 0d1095f7
...@@ -56,8 +56,8 @@ const int DEFAULT_HEART_BEAT_TIMEOUT_INTERVAL = 4 * DEFAULT_HEART_BEAT_INTERVAL; ...@@ -56,8 +56,8 @@ const int DEFAULT_HEART_BEAT_TIMEOUT_INTERVAL = 4 * DEFAULT_HEART_BEAT_INTERVAL;
static int HEART_BEAT_TIMEOUT_INTERVAL = DEFAULT_HEART_BEAT_TIMEOUT_INTERVAL; static int HEART_BEAT_TIMEOUT_INTERVAL = DEFAULT_HEART_BEAT_TIMEOUT_INTERVAL;
// the list of couplers onto which we depend for properly running // the list of couplers onto which we depend for properly running
// XXX: assume ONLY 8 couplers! // assume maximum of 127 couplers!
unsigned int HEART_BEAT_ID_LIST[] = {0, 0, 0, 0, 0, 0, 0, 0}; unsigned int HEART_BEAT_ID_LIST[127] = {0};
// the interval for publishing messages // the interval for publishing messages
static int PUBLISHING_INTERVAL = 10; static int PUBLISHING_INTERVAL = 10;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment