Make the heartbeat more frequent
This commit is contained in:
parent
5b62137ebe
commit
79fe7fa6d4
|
@ -43,7 +43,7 @@ impl worker::SimpleWorker for PlasticHeartbeatWorker {
|
|||
}
|
||||
|
||||
fn consumer(&self, _job: &plasticheartbeat::PlasticHeartbeat) -> worker::Actions {
|
||||
thread::sleep(time::Duration::from_secs(10));
|
||||
thread::sleep(time::Duration::from_secs(5));
|
||||
|
||||
return vec![
|
||||
worker::Action::Publish(self.message()),
|
||||
|
|
Loading…
Reference in a new issue