Skip to content

Commit 19e549d

Browse files
committed
fix write index command
1 parent 05ef748 commit 19e549d

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.github/workflows/github-actions.yml

-2
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,6 @@ jobs:
114114
restore-keys: ${{ runner.os }}-composer-
115115
- name: Install Dependencies
116116
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
117-
- name: Debug environment variables
118-
run: env
119117
- name: Run migrations
120118
run: |
121119
php bin/console doctrine:migrations:migrate --no-interaction || echo "No migrations found or migration failed"

compose.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ services:
5555
- 2019:2019
5656
depends_on:
5757
- db
58+
- redis
5859
- elasticsearch
5960
user: root
6061
networks:

src/Core/Infrastructure/Symfony/Command/WriteIndexesCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#[AsCommand('app:write:indexes')]
2020
class WriteIndexesCommand extends Command
2121
{
22-
private const BULK_SIZE = 1000;
22+
private const BULK_SIZE = 100;
2323

2424
public function __construct(
2525
private SearchHelperInterface $elasticHelper,

0 commit comments

Comments
 (0)