Skip to content

improve detecting instances in DeleteInstance() - #79

Open
gamoutatsumi wants to merge 2 commits into
whywaita:masterfrom
gamoutatsumi:reduce_logs_deleteinstance
Open

gamoutatsumi wants to merge 2 commits into
whywaita:masterfrom
gamoutatsumi:reduce_logs_deleteinstance

Conversation

@gamoutatsumi

Copy link
Copy Markdown
Contributor
  • reduce useless logs
  • early close scraping instances goroutine

gamoutatsumi and others added 2 commits March 17, 2026 18:58
…istInstance

- Add mutex to prevent race condition when setting foundHost
- Use context.WithCancel for early termination when instance is found
- Propagate context from caller to enable proper cancellation handling
- Add context parameter to isExistInstanceWithTimeout

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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