api-platform / api-platform/core

[Mercure][Feature] Configure automatic mercure updates

Aberta
#3,785 1 comentário 4 reações 0 responsáveis Ver no GitHub
performance
Linguagem predominante
PHP
Estrelas
2.6k
Forks
980
Merge médio
2d 5h
PRs com merge (30d)
48

Descrição

As far as I can see, API Platform sends updates on insert/update/delete (`\ApiPlatform\Core\Bridge\Doctrine\EventListener\PublishMercureUpdatesListener::onFlush`) automatically. This causes performance problems if many entities are updated/inserted/deleted at once. In my case, I'm not listening to inserts and deletions, so it doesn't make sense to send the updates in the first place.

It would be great if some kind of configuration would be possible.

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.