Skip to content

[feat] Modify example Gateway server to collect goroutines appropriately#9

Merged
behinddwalls merged 1 commit into
mainfrom
sergeyb
Feb 11, 2026
Merged

[feat] Modify example Gateway server to collect goroutines appropriately#9
behinddwalls merged 1 commit into
mainfrom
sergeyb

Conversation

@sbalabanov
Copy link
Copy Markdown
Contributor

This makes sure that goroutines finish before exiting the application.
Even though GracefulStop() blocks, it is a good habit to collect goroutines we explicitly started.
Also collected a periodic metrics pusher goroutine.

@sbalabanov sbalabanov requested review from a team as code owners February 10, 2026 22:33
@behinddwalls behinddwalls merged commit e2321b4 into main Feb 11, 2026
1 check passed
@behinddwalls behinddwalls deleted the sergeyb branch February 11, 2026 16:34
behinddwalls added a commit that referenced this pull request Feb 11, 2026
…ay (#10)

Replicating the logic as per #9
for orchestrator and speculator
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.

3 participants