Skip to content

Commit

Permalink
ref: nextScroll: not clear if it's useful for the skeleton
Browse files Browse the repository at this point in the history
  • Loading branch information
theus77 committed Oct 15, 2023
1 parent b794475 commit c9dc9dc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions EMS/common-bundle/src/Service/ElasticaService.php
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,9 @@ public function scrollById(Search $search, string $expiryTime = '1m'): ResultSet

public function nextScroll(string $scrollId, string $expiryTime = '1m'): Response
{
if ($this->useAdminProxy) {
throw new \RuntimeException('nextScroll not supported in proxy mode');
}
$endpoint = new ScrollEndpoints();
$endpoint->setBody(['scroll' => $expiryTime]);
$endpoint->setScrollId($scrollId);
Expand Down

0 comments on commit c9dc9dc

Please sign in to comment.