Skip to content

Commit

Permalink
Stop updating containersList after value is recieved
Browse files Browse the repository at this point in the history
This implements the same behavior that is currently in place for the code path that runs for the moby container engine.This path would ultimately get cleaned up as a result of rancher-sandbox#6153 and the behavior for polling containers in  rancher-sandbox#5775. 

Signed-off-by: Phillip Rak <[email protected]>
  • Loading branch information
rak-phillip committed Dec 13, 2023
1 parent 6136385 commit 905fa71
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/rancher-desktop/pages/Containers.vue
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,10 @@ export default {
ipcRenderer.send('containers-namespaced-containers-read');
containerCheckInterval = setInterval(() => {
if (this.containersList) {
return;
}
ipcRenderer.send('containers-namespaced-read');
// Reads containers in current namespace.
Expand Down

0 comments on commit 905fa71

Please sign in to comment.