Skip to content

[PATCH] http_server#1

Open
flyingcamilo wants to merge 3 commits into
mainfrom
response_code
Open

[PATCH] http_server#1
flyingcamilo wants to merge 3 commits into
mainfrom
response_code

Conversation

@flyingcamilo

Copy link
Copy Markdown
Owner

No description provided.

Camilo Schoeningh added 3 commits February 27, 2022 19:05
To use the web server in applications like k8s, we should return the
response code. This can be used inside the readiness and livenessprobe.
Ruby is buffering output until the output buffer is full.
To change the behavior we set sync=true

https://ruby-doc.org/core-2.3.1/IO.html#method-i-sync
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