1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

dumper: prevent writing to socket after 10 failed attampts

This commit is contained in:
Manuel Pitz 2021-07-09 16:54:11 +02:00
parent 650ac13670
commit b61c081b9e

View file

@ -76,6 +76,9 @@ int Dumper::closeSocket()
void Dumper::writeDataBinary(unsigned len, double *yData, double *xData){
if (warningCounter > 10)
return;
if (yData == nullptr)
return;