diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-04-02 17:32:47 -0400 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-04-02 17:32:47 -0400 |
commit | 81e56904104c45beb17e574eb1691a864cd91bb2 (patch) | |
tree | 5951d4046b170e15e3e0dda410797d828154902b /node/Node.cpp | |
parent | 700a450806263f035f7b1266d5f63c5934461e97 (diff) | |
download | infinitytier-81e56904104c45beb17e574eb1691a864cd91bb2.tar.gz infinitytier-81e56904104c45beb17e574eb1691a864cd91bb2.zip |
More tweaks to TCP failover logic. Such edge case.
Diffstat (limited to 'node/Node.cpp')
-rw-r--r-- | node/Node.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/node/Node.cpp b/node/Node.cpp index a0dd14c1..051cb317 100644 --- a/node/Node.cpp +++ b/node/Node.cpp @@ -543,6 +543,8 @@ Node::ReasonForTermination Node::run() _r->timeOfLastResynchronize = Utils::now(); while (impl->reasonForTermination == NODE_RUNNING) { + //TRACE("--- BEGIN main I/O loop"); + if (Utils::fileExists(shutdownIfUnreadablePath.c_str(),false)) { FILE *tmpf = fopen(shutdownIfUnreadablePath.c_str(),"r"); if (!tmpf) |