Skip to content

Commit

Permalink
Update functions.ts
Browse files Browse the repository at this point in the history
add request log on longScrolls
  • Loading branch information
igorls authored Jun 10, 2024
1 parent 1b28aad commit e5499dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/helpers/functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export async function streamPastDeltas(fastify: FastifyInstance, socket, data) {
total = init_response.body.hits.total.value;
longScroll = true;
hLog(`Attention! Long scroll (deltas) is running!`);
hLog(JSON.stringify(search_body, null, 2));
}

// emit first block
Expand Down Expand Up @@ -213,6 +214,7 @@ export async function streamPastActions(fastify: FastifyInstance, socket, data)
total = init_response.body.hits.total.value;
longScroll = true;
hLog(`Attention! Long scroll (actions) is running!`);
hLog(JSON.stringify(search_body, null, 2));
}

// emit first block
Expand Down

0 comments on commit e5499dd

Please sign in to comment.