diff options
author | Shaun Taheri <shaun@advancedtelematic.com> | 2016-10-14 18:05:44 +0200 |
---|---|---|
committer | Shaun Taheri <shaun@advancedtelematic.com> | 2016-10-14 18:05:44 +0200 |
commit | c6d3bb27c6e794f124259b8f7e749df1687f28b0 (patch) | |
tree | ac845ddde28c7a362e1f606825339da5154bcf15 | |
parent | 3a1c94b7b1c478c6116a8a88c534d3069895f56c (diff) | |
download | rvi_sota_client-c6d3bb27c6e794f124259b8f7e749df1687f28b0.tar.gz |
Re-enable InFlight retries
-rw-r--r-- | src/interpreter.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/interpreter.rs b/src/interpreter.rs index f122fc2..7f401de 100644 --- a/src/interpreter.rs +++ b/src/interpreter.rs @@ -70,7 +70,6 @@ impl Interpreter<Event, Command> for EventInterpreter { match request.status { Status::Pending => ctx.send(Command::StartDownload(id)), - /* FIXME(PRO-1654): race condition due to prior in-progress operations Status::InFlight if self.pacman != PackageManager::Off => { if self.pacman.is_installed(&request.packageId) { let report = UpdateReport::single(id, UpdateResultCode::OK, "".to_string()); @@ -79,7 +78,6 @@ impl Interpreter<Event, Command> for EventInterpreter { ctx.send(Command::StartDownload(id)); } } - */ _ => () } |