add worker heartbeat

This commit is contained in:
Johannes Heuel
2022-09-21 16:28:10 +02:00
parent 9f2d06b1bb
commit 60df9aca1a
5 changed files with 96 additions and 44 deletions

View File

@@ -75,3 +75,9 @@ pub struct Worker {
#[serde(default)]
pub id: i32,
}
#[derive(Serialize, Deserialize)]
pub struct Heartbeat {
#[serde(default)]
pub id: i32,
}