Skip to content

refactor: extracts price feeding from hermes client#10

Merged
stalniy merged 2 commits into
mainfrom
refactor/hermes-client-polling
Mar 27, 2026
Merged

refactor: extracts price feeding from hermes client#10
stalniy merged 2 commits into
mainfrom
refactor/hermes-client-polling

Conversation

@stalniy
Copy link
Copy Markdown
Contributor

@stalniy stalniy commented Mar 26, 2026

Why

To have an option to switch to a different stream, like SSE. Ref AKA-175

What

  1. extracts polling into AsyncGenerator abstaction. This allows to provide any implementation of async generator to hermes client
  2. Added TLS session resumption and keepAlive. To speed up price fetching
  3. Caches smart contract config to reduce race condition window
  4. Separates price polling from blockchain price updates

@stalniy stalniy requested a review from troian March 26, 2026 15:34
@stalniy stalniy force-pushed the refactor/hermes-client-polling branch 3 times, most recently from 14e8151 to de92bd3 Compare March 26, 2026 15:47
@stalniy stalniy force-pushed the refactor/hermes-client-polling branch from de92bd3 to a877e89 Compare March 27, 2026 13:07
@stalniy stalniy force-pushed the refactor/hermes-client-polling branch from 5d4fac4 to 2586689 Compare March 27, 2026 15:09
@stalniy stalniy merged commit 280c823 into main Mar 27, 2026
1 check passed
stalniy added a commit that referenced this pull request Mar 27, 2026
* refactor: extracts price feeding from hermes client

* refactor: separate price consumeption and updates into separate streams
stalniy added a commit that referenced this pull request Mar 27, 2026
* refactor: extracts price feeding from hermes client

* refactor: separate price consumeption and updates into separate streams
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants