Skip to content

Commit

Permalink
Wait for log messages to be published
Browse files Browse the repository at this point in the history
  • Loading branch information
lptr committed Dec 5, 2024
1 parent 35550a0 commit e9f8f94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/devices/Device.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ class Device {
json["level"] = record.level;
json["message"] = message;
},
Retention::NoRetain, QoS::AtLeastOnce, ticks::zero(), LogPublish::Silent);
Retention::NoRetain, QoS::AtLeastOnce, 2s, LogPublish::Silent);
});
});

Expand Down

0 comments on commit e9f8f94

Please sign in to comment.