Skip to content

Commit

Permalink
Merge pull request #2573 from nextcloud/enh/noid/clear-apcu-cache
Browse files Browse the repository at this point in the history
clear apcu cache upon starting containers
  • Loading branch information
szaimen authored May 30, 2023
2 parents 16514bf + 5e96aad commit a1680e9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions php/src/Controller/DockerController.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,9 @@ public function StartContainer(Request $request, Response $response, array $args
// Start container
$this->startTopContainer(true);

// Clear apcu cache in order to check if container updates are available
apcu_clear_cache();

return $response->withStatus(201)->withHeader('Location', '/');
}

Expand Down

0 comments on commit a1680e9

Please sign in to comment.