Deprecate support for openswoole

This commit is contained in:
Alejandro Celaya
2023-06-03 09:08:07 +02:00
parent 6351d0b87d
commit a11be5b2ff
10 changed files with 14 additions and 7 deletions

View File

@@ -29,6 +29,7 @@ if [ "$SHLINK_RUNTIME" == 'rr' ]; then
fi
if [ "$SHLINK_RUNTIME" == 'openswoole' ]; then
# Openswoole is deprecated. Remove in Shlink 4.0.0
# When restarting the container, openswoole might think it is already in execution
# This forces the app to be started every second until the exit code is 0
until php vendor/bin/laminas mezzio:swoole:start; do sleep 1 ; done