Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: server should start the receive loop #19

Merged
merged 1 commit into from
Dec 21, 2024

Conversation

kalbasit
Copy link
Owner

@kalbasit kalbasit commented Dec 21, 2024

Move the receive loop into the server package and make it restart on error

The receive loop is now managed by the server package, which will restart it automatically if it encounters an error. The loop previously lived in main.go but has been relocated to server.go for better error handling and recovery.

ref #8

Co-authored-by: Mathias Fredriksson [email protected]

@kalbasit kalbasit marked this pull request as ready for review December 21, 2024 20:09
@kalbasit kalbasit changed the base branch from expose-all-fields to graphite-base/19 December 21, 2024 20:48
@kalbasit kalbasit force-pushed the server-should-start-receive-loop branch from 2e6210d to 5462eb5 Compare December 21, 2024 20:48
@kalbasit kalbasit changed the base branch from graphite-base/19 to main December 21, 2024 20:49
@kalbasit kalbasit force-pushed the server-should-start-receive-loop branch from 5462eb5 to dd65e22 Compare December 21, 2024 20:49
@kalbasit kalbasit merged commit dbf7877 into main Dec 21, 2024
3 checks passed
Copy link
Owner Author

Merge activity

  • Dec 21, 3:52 PM EST: A user merged this pull request with Graphite.

@kalbasit kalbasit deleted the server-should-start-receive-loop branch December 21, 2024 20:52
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.

1 participant