1
0
Fork 0
mirror of synced 2024-06-29 11:40:45 +12:00

fix: increase docker connections

This commit is contained in:
Torsten Dittmann 2022-01-21 19:56:37 +01:00
parent 12db6816f0
commit a794087a86
2 changed files with 4 additions and 3 deletions

View file

@ -24,7 +24,7 @@ COPY public /usr/local/src/public
RUN npm ci
RUN npm run build
FROM php:8.0-cli-alpine as compile
FROM php:8.0.14-cli-alpine as compile
ARG DEBUG=false
ENV DEBUG=$DEBUG
@ -123,7 +123,7 @@ RUN \
./configure && \
make && make install
FROM php:8.0-cli-alpine as final
FROM php:8.0.14-cli-alpine as final
LABEL maintainer="team@appwrite.io"

View file

@ -33,6 +33,7 @@ use Utopia\Cache\Cache;
use Utopia\Database\Query;
use Utopia\Orchestration\Adapter\DockerCLI;
use Utopia\Logger\Log;
use Utopia\Orchestration\Adapter\DockerAPI;
use Utopia\Registry\Registry;
require_once __DIR__ . '/init.php';
@ -89,7 +90,7 @@ $orchestrationPool = new ConnectionPool(function () {
$orchestration = new Orchestration(new DockerCLI($dockerUser, $dockerPass));
return $orchestration;
}, 2);
}, 6);
try {
$runtimes = Config::getParam('runtimes');