mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 16:46:47 +00:00
Example.DDS: Remove sleep to speed up testing
This commit is contained in:
parent
5e8a442342
commit
ff581985f3
|
@ -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"));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user