Make the heartbeat more frequent

This commit is contained in:
Graham Christensen 2017-11-14 08:33:29 -05:00
parent 5b62137ebe
commit 79fe7fa6d4
No known key found for this signature in database
GPG key ID: ACA1C1D120C83D5C

View file

@ -43,7 +43,7 @@ impl worker::SimpleWorker for PlasticHeartbeatWorker {
} }
fn consumer(&self, _job: &plasticheartbeat::PlasticHeartbeat) -> worker::Actions { fn consumer(&self, _job: &plasticheartbeat::PlasticHeartbeat) -> worker::Actions {
thread::sleep(time::Duration::from_secs(10)); thread::sleep(time::Duration::from_secs(5));
return vec![ return vec![
worker::Action::Publish(self.message()), worker::Action::Publish(self.message()),