Skip to content
This repository was archived by the owner on Feb 25, 2026. It is now read-only.

fix: redis conn - #442

Merged
MicaiahReid merged 2 commits into
developfrom
fix/redis-conn
Oct 11, 2023
Merged

fix: redis conn#442
MicaiahReid merged 2 commits into
developfrom
fix/redis-conn

Conversation

@lgalabru

Copy link
Copy Markdown
Contributor

This PR is fixing the management of the redis connection. In the current approach, we're reusing an existing connection that is being opened at startup for test purposes, but that can get broken after some time if blocks take time to arrive.
Fix: we open/close a new connection every time a new block hits the API.

@lgalabru
lgalabru requested a review from MicaiahReid October 11, 2023 13:38
@lgalabru
lgalabru temporarily deployed to Development-mainnet October 11, 2023 14:07 — with GitHub Actions Inactive

@MicaiahReid MicaiahReid left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@lgalabru
lgalabru temporarily deployed to Development-mainnet October 11, 2023 14:24 — with GitHub Actions Inactive
@lgalabru
lgalabru temporarily deployed to Development-testnet October 11, 2023 14:24 — with GitHub Actions Inactive
@lgalabru
lgalabru temporarily deployed to Staging-mainnet October 11, 2023 14:33 — with GitHub Actions Inactive
@lgalabru
lgalabru temporarily deployed to Staging-testnet October 11, 2023 14:33 — with GitHub Actions Inactive
@MicaiahReid
MicaiahReid merged commit 80737ad into develop Oct 11, 2023
@MicaiahReid
MicaiahReid deleted the fix/redis-conn branch October 11, 2023 14:37
github-actions Bot pushed a commit that referenced this pull request Oct 11, 2023
## [1.1.1](v1.1.0...v1.1.1) (2023-10-11)

### Bug Fixes

* add auth header for stacks hook ([#444](#444)) ([8c4e5ea](8c4e5ea)), closes [#438](#438)
* don't evaluate transactions for block predicates ([#445](#445)) ([0e84fe7](0e84fe7))
* redis conn ([#442](#442)) ([80737ad](80737ad))
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.1.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

edge-dragonmkop added a commit to edge-dragonmkop/chainhook that referenced this pull request Sep 29, 2025
## [1.1.1](hirosystems/chainhook@v1.1.0...v1.1.1) (2023-10-11)

### Bug Fixes

* add auth header for stacks hook ([#444](hirosystems/chainhook#444)) ([8c4e5ea](hirosystems/chainhook@8c4e5ea)), closes [#438](hirosystems/chainhook#438)
* don't evaluate transactions for block predicates ([#445](hirosystems/chainhook#445)) ([0e84fe7](hirosystems/chainhook@0e84fe7))
* redis conn ([#442](hirosystems/chainhook#442)) ([80737ad](hirosystems/chainhook@80737ad))
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants