feat(config): add poke strategy#54
Open
ngoc-minh-do wants to merge 1 commit into
Open
Conversation
96ec6af to
0fbaa60
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds the poke strategy — a new
GET /api/strategies/pokeendpoint that starts instances and immediately returnsX-Sablier-Session-Status: ready, skipping the health check. The reverse proxy passes the request through without blocking or showing a waiting page.Useful when you want instances started but don't need them healthy before serving traffic — background workers, sidecar caches, companion processes the caller doesn't depend on.
Usage
GET /api/strategies/poke?group=myapp&session_duration=30m
Plugin config examples (separate PRs in each plugin repo):