Skip to content

Commit

Permalink
Moved from Predis to PhpRedis
Browse files Browse the repository at this point in the history
  • Loading branch information
VampireAotD committed Aug 3, 2024
1 parent 6e7ffb3 commit 9f4da8a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 66 deletions.
4 changes: 2 additions & 2 deletions docker/php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ ARG USER_ID=1000
RUN apk update \
&& apk add --no-cache libstdc++ libpq libzip-dev gmp-dev oniguruma-dev curl git zip unzip supervisor \
&& apk add --no-cache --virtual .build-deps $PHPIZE_DEPS linux-headers brotli-dev pcre-dev pcre2-dev zlib-dev \
&& pecl install xdebug swoole uv \
&& pecl install xdebug swoole redis uv \
&& docker-php-ext-install -j$(nproc) \
pcntl \
mbstring \
Expand All @@ -31,7 +31,7 @@ RUN apk update \
pdo_mysql \
zip \
gmp \
&& docker-php-ext-enable xdebug swoole \
&& docker-php-ext-enable xdebug swoole redis \
&& docker-php-source delete \
&& rm -rf /var/cache/apk/* /tmp/* /var/tmp/* \
&& apk del .build-deps
Expand Down
1 change: 0 additions & 1 deletion src/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"laravel/tinker": "^2.9.0",
"nutgram/laravel": "^1.4.1",
"opcodesio/log-viewer": "^3.10.1",
"predis/predis": "^2.2.2",
"pusher/pusher-php-server": "^7.2.4",
"spatie/laravel-permission": "^6.9.0",
"tightenco/ziggy": "^2.2.1",
Expand Down
63 changes: 1 addition & 62 deletions src/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/config/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@

'options' => [
'cluster' => env('REDIS_CLUSTER', 'redis'),
'prefix' => env('REDIS_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_') . '_database_'),
'prefix' => env('REDIS_PREFIX', Str::slug(env('APP_NAME', 'anilibrary'), '_') . '_database_'),
],

'default' => [
Expand Down

0 comments on commit 9f4da8a

Please sign in to comment.