broker: add stopped-preserving upgrade without actor execution
ci / check (push) Failing after 1m47s
ci / check (push) Failing after 1m47s
This commit is contained in:
@@ -38,6 +38,10 @@ fn main() {
|
||||
panic!("version 2 crashes on startup");
|
||||
}
|
||||
|
||||
if actor == "stopped-upgrade" {
|
||||
std::fs::write("/data/main-version", &version).unwrap();
|
||||
}
|
||||
|
||||
let mut open = HashMap::<String, std::fs::File>::new();
|
||||
// Files that this actor serves at /actor/<id>/fs/ (path -> text).
|
||||
let mut served = std::collections::BTreeMap::<String, String>::new();
|
||||
|
||||
Reference in New Issue
Block a user