mirror of
https://github.com/shlinkio/shlink.git
synced 2025-03-29 13:03:52 +03:00
Merge pull request #714 from acelaya-forks/feature/metadata-cache-clear
Feature/metadata cache clear
This commit is contained in:
commit
2b1011de52
3 changed files with 28 additions and 2 deletions
23
CHANGELOG.md
23
CHANGELOG.md
|
@ -4,6 +4,29 @@ All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
The format is based on [Keep a Changelog](https://keepachangelog.com), and this project adheres to [Semantic Versioning](https://semver.org).
|
The format is based on [Keep a Changelog](https://keepachangelog.com), and this project adheres to [Semantic Versioning](https://semver.org).
|
||||||
|
|
||||||
|
## [Unreleased]
|
||||||
|
|
||||||
|
#### Added
|
||||||
|
|
||||||
|
* *Nothing*
|
||||||
|
|
||||||
|
#### Changed
|
||||||
|
|
||||||
|
* *Nothing*
|
||||||
|
|
||||||
|
#### Deprecated
|
||||||
|
|
||||||
|
* *Nothing*
|
||||||
|
|
||||||
|
#### Removed
|
||||||
|
|
||||||
|
* *Nothing*
|
||||||
|
|
||||||
|
#### Fixed
|
||||||
|
|
||||||
|
* [#712](https://github.com/shlinkio/shlink/issues/712) Fixed app set-up not clearing entities metadata cache.
|
||||||
|
|
||||||
|
|
||||||
## 2.1.2 - 2020-03-29
|
## 2.1.2 - 2020-03-29
|
||||||
|
|
||||||
#### Added
|
#### Added
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
"shlinkio/shlink-common": "^3.0",
|
"shlinkio/shlink-common": "^3.0",
|
||||||
"shlinkio/shlink-config": "^1.0",
|
"shlinkio/shlink-config": "^1.0",
|
||||||
"shlinkio/shlink-event-dispatcher": "^1.4",
|
"shlinkio/shlink-event-dispatcher": "^1.4",
|
||||||
"shlinkio/shlink-installer": "^4.3.1",
|
"shlinkio/shlink-installer": "^4.3.2",
|
||||||
"shlinkio/shlink-ip-geolocation": "^1.4",
|
"shlinkio/shlink-ip-geolocation": "^1.4",
|
||||||
"symfony/console": "^5.0",
|
"symfony/console": "^5.0",
|
||||||
"symfony/filesystem": "^5.0",
|
"symfony/filesystem": "^5.0",
|
||||||
|
@ -65,7 +65,7 @@
|
||||||
"eaglewu/swoole-ide-helper": "dev-master",
|
"eaglewu/swoole-ide-helper": "dev-master",
|
||||||
"infection/infection": "^0.16.1",
|
"infection/infection": "^0.16.1",
|
||||||
"phpstan/phpstan": "^0.12.18",
|
"phpstan/phpstan": "^0.12.18",
|
||||||
"phpunit/phpunit": "^9.0.1",
|
"phpunit/phpunit": "~9.0.1",
|
||||||
"roave/security-advisories": "dev-master",
|
"roave/security-advisories": "dev-master",
|
||||||
"shlinkio/php-coding-standard": "~2.1.0",
|
"shlinkio/php-coding-standard": "~2.1.0",
|
||||||
"shlinkio/shlink-test-utils": "^1.4",
|
"shlinkio/shlink-test-utils": "^1.4",
|
||||||
|
|
|
@ -12,6 +12,9 @@ php bin/cli db:migrate -n -q
|
||||||
echo "Generating proxies..."
|
echo "Generating proxies..."
|
||||||
php vendor/doctrine/orm/bin/doctrine.php orm:generate-proxies -n -q
|
php vendor/doctrine/orm/bin/doctrine.php orm:generate-proxies -n -q
|
||||||
|
|
||||||
|
echo "Clearing entities cache..."
|
||||||
|
php vendor/doctrine/orm/bin/doctrine.php orm:clear-cache:metadata -n -q
|
||||||
|
|
||||||
# When restarting the container, swoole might think it is already in execution
|
# When restarting the container, swoole might think it is already in execution
|
||||||
# This forces the app to be started every second until the exit code is 0
|
# This forces the app to be started every second until the exit code is 0
|
||||||
until php vendor/mezzio/mezzio-swoole/bin/mezzio-swoole start; do sleep 1 ; done
|
until php vendor/mezzio/mezzio-swoole/bin/mezzio-swoole start; do sleep 1 ; done
|
||||||
|
|
Loading…
Add table
Reference in a new issue