Skip to content

Commit

Permalink
Crash on unhandled Redis errors
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrichina committed Mar 8, 2024
1 parent 87f70af commit e31321d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions utils/redis-block-stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ async function* redisBlockStream({ startBlockHeight, endBlockHeight, redisUrl, s
detect_buffers: true,
no_ready_check: true
});
// TODO: Does it need to crash as fatal error?
redisClient.on('error', (err) => console.error('Redis Client Error', err));

redisClient = {
end: redisClient.end.bind(redisClient),
Expand Down

0 comments on commit e31321d

Please sign in to comment.