mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-03-03 17:27:22 +08:00
Merge pull request #2573 from nextcloud/enh/noid/clear-apcu-cache
clear apcu cache upon starting containers
This commit is contained in:
commit
a1680e9e3a
1 changed files with 3 additions and 0 deletions
|
@ -172,6 +172,9 @@ class DockerController
|
||||||
// Start container
|
// Start container
|
||||||
$this->startTopContainer(true);
|
$this->startTopContainer(true);
|
||||||
|
|
||||||
|
// Clear apcu cache in order to check if container updates are available
|
||||||
|
apcu_clear_cache();
|
||||||
|
|
||||||
return $response->withStatus(201)->withHeader('Location', '/');
|
return $response->withStatus(201)->withHeader('Location', '/');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue