diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2023-07-20 18:14:51 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2023-07-20 18:14:51 +0200 |
commit | 0887d7e859605fad9617681695e70e3ef738a19c (patch) | |
tree | 0ac353c86a5315f2af18dd0d86fde6c51907b5c8 /src/InputTcpReader.cpp | |
parent | 595606ca4ed3011af19c6d8a9f95519d84320120 (diff) | |
download | dabmod-0887d7e859605fad9617681695e70e3ef738a19c.tar.gz dabmod-0887d7e859605fad9617681695e70e3ef738a19c.tar.bz2 dabmod-0887d7e859605fad9617681695e70e3ef738a19c.zip |
Add main loop RC metrics
Diffstat (limited to 'src/InputTcpReader.cpp')
-rw-r--r-- | src/InputTcpReader.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/InputTcpReader.cpp b/src/InputTcpReader.cpp index 21f8496..8ba4d74 100644 --- a/src/InputTcpReader.cpp +++ b/src/InputTcpReader.cpp @@ -79,6 +79,9 @@ int InputTcpReader::GetNextFrame(void* buffer) etiLog.level(debug) << "TCP input auto reconnect"; std::this_thread::sleep_for(std::chrono::seconds(1)); } + else if (ret == -2) { + etiLog.level(debug) << "TCP input timeout"; + } return ret; } |