Example.DDS: Remove sleep to speed up testing

This commit is contained in:
Dennis Klein 2019-07-17 20:03:17 +02:00 committed by Dennis Klein
parent 5e8a442342
commit ff581985f3

View File

@ -34,8 +34,6 @@ void Sampler::InitTask()
bool Sampler::ConditionalRun() bool Sampler::ConditionalRun()
{ {
std::this_thread::sleep_for(std::chrono::seconds(1));
// NewSimpleMessage creates a copy of the data and takes care of its destruction (after the transfer takes place). // NewSimpleMessage creates a copy of the data and takes care of its destruction (after the transfer takes place).
// Should only be used for small data because of the cost of an additional copy // Should only be used for small data because of the cost of an additional copy
FairMQMessagePtr msg(NewSimpleMessage("Data")); FairMQMessagePtr msg(NewSimpleMessage("Data"));