Skip to content

Commit

Permalink
DPL: allow larger grace period for dispatching non-DPL incoming messa…
Browse files Browse the repository at this point in the history
…ges (#13639)
  • Loading branch information
ktf authored Nov 7, 2024
1 parent 5af5498 commit 096694b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Framework/Core/src/ExternalFairMQDeviceProxy.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ void sendOnChannel(fair::mq::Device& device, fair::mq::Parts& messages, std::str
}

// FIXME: we need a better logic for avoiding message spam
if (timeout > 1 && timeout <= maxTimeout) {
LOG(warning) << "dispatching on channel " << channel << " was delayed by " << timeout << " ms";
if (timeout > 100 && timeout <= maxTimeout) {
LOG(warning) << "dispatching on channel " << channel << " was delayed by " << timeout / 1000.f << " s";
}
// TODO: feeling this is a bit awkward, but the interface of fair::mq::Parts does not provide a
// method to clear the content.
Expand Down

0 comments on commit 096694b

Please sign in to comment.