Skip to content
This repository was archived by the owner on Dec 8, 2025. It is now read-only.

fix: change publish to use http relay client in handlers#142

Merged
geekbrother merged 1 commit intomainfrom
max/fix/change_publish_to_http
Oct 24, 2023
Merged

fix: change publish to use http relay client in handlers#142
geekbrother merged 1 commit intomainfrom
max/fix/change_publish_to_http

Conversation

@geekbrother
Copy link
Copy Markdown
Contributor

@geekbrother geekbrother commented Oct 23, 2023

Description

This PR changes the use of publish from websocket client to the HTTP relay client to solve the websocket disconnect issue.

Resolves #74

How Has This Been Tested?

Integration test.

Due Diligence

  • Breaking change
  • Requires a documentation update
  • Requires a e2e/integration test update

@geekbrother geekbrother self-assigned this Oct 23, 2023
@geekbrother geekbrother force-pushed the max/fix/change_publish_to_http branch from f5c13f6 to 64620e5 Compare October 23, 2023 21:16
@geekbrother geekbrother marked this pull request as ready for review October 23, 2023 21:34
Copy link
Copy Markdown
Member

@chris13524 chris13524 left a comment

Choose a reason for hiding this comment

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

Don't we need this for the /notify endpoint too?

@geekbrother
Copy link
Copy Markdown
Contributor Author

Don't we need this for the /notify endpoint too?

I think not because we are already using the HTTP relay client when processing publishing jobs.

Comment thread .github/workflows/sub-validate.yml Outdated
@chris13524
Copy link
Copy Markdown
Member

Don't we need this for the /notify endpoint too?

I think not because we are already using the HTTP relay client when processing publishing jobs.

Ah you're right

@geekbrother geekbrother force-pushed the max/fix/change_publish_to_http branch from 64620e5 to 815bbc8 Compare October 24, 2023 13:08
@geekbrother geekbrother force-pushed the max/fix/change_publish_to_http branch from 815bbc8 to ac1fb8b Compare October 24, 2023 18:38
@geekbrother geekbrother merged commit f6bc5ac into main Oct 24, 2023
@geekbrother geekbrother deleted the max/fix/change_publish_to_http branch October 24, 2023 19:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: handler functions do not anticipate websocket disconnection

2 participants