Skip to content

Conversation

@mattnibs
Copy link
Collaborator

@mattnibs mattnibs commented Jan 2, 2024

This is used by Zui to prevent orhpaned Zed processes by exiting when a client stops polling the keepalive endpoint.

Closes #4863

@mattnibs mattnibs force-pushed the stayalive branch 5 times, most recently from 2705053 to e129225 Compare January 3, 2024 19:14
@mattnibs mattnibs requested a review from nwt January 3, 2024 19:16
@mattnibs mattnibs force-pushed the stayalive branch 3 times, most recently from f569eb2 to 6ff7dc4 Compare January 4, 2024 20:36
@philrz philrz requested a review from mccanne January 4, 2024 20:45
@mattnibs mattnibs force-pushed the stayalive branch 2 times, most recently from fcb1485 to 7d99935 Compare January 5, 2024 18:37
@mattnibs mattnibs changed the title Add stayalive endpoint Add keepalive endpoint Jan 5, 2024
This is used by Zui to prevent orhpaned Zed processes by exiting when a client
stops polling the keepalive endpoint.

Closes 4863
@mccanne
Copy link
Collaborator

mccanne commented Jan 6, 2024

Cool! I think /keepalive should return the reason the server exits but not sure how to wire that up, e.g., "zed serve exited on SIGINT". Not a big deal and could do this later if warranted.

@mattnibs
Copy link
Collaborator Author

mattnibs commented Jan 8, 2024

Closing, going in a different direction: brimdata/zui#2956

@mattnibs mattnibs closed this Jan 8, 2024
@nwt nwt deleted the stayalive branch April 17, 2025 15:23
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.

Add "long poll" lake API endpoint

4 participants