martinzink commented on a change in pull request #1225:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1225#discussion_r769576847
##########
File path: libminifi/include/sitetosite/RawSocketProtocol.h
##########
@@ -75,9 +75,9 @@ class RawSiteToSiteClient : public
sitetosite::SiteToSiteClient {
peer_ = std::move(peer);
_batchSize = 0;
_batchCount = 0;
- _batchDuration = 0;
- _batchSendNanos = 5000000000; // 5 seconds
- _timeOut = 30000; // 30 seconds
+ _batchDuration = std::chrono::seconds(0);
+ _batchSendNanos = std::chrono::seconds(5);
+ _timeOut = std::chrono::seconds(30); // 30 seconds
Review comment:
you are right, removed it in
https://github.com/martinzink/nifi-minifi-cpp/commit/78f8658fde802c73a5965dd734a544acbc37dca3#diff-c1de4968ef4bf87b88a7ac2062a5abd667a9311affd42e8752a2531172e3357eR80
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]