8000 perf: optimize the api image health check by conet · Pull Request #3038 · libretime/libretime · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

perf: optimize the api image health check #3038

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jun 22, 2024

Conversation

conet
Copy link
Contributor
@conet conet commented Jun 19, 2024

Description

Having curl installed in the API container improves operations and the efficiency of the health check. Launching python to do a single http call is an overkill.

This is a new feature:

No

I have updated the documentation to reflect these changes:

Not necessary

Testing Notes

What I did:

Compare cpu time of the new health check command to the old health check command

How you can replicate my testing:

See above

@conet conet changed the title Optimize api image health check perf: Optimize api image health check Jun 19, 2024
@conet conet changed the title perf: Optimize api image health check perf: optimize api image health check Jun 19, 2024
@conet conet changed the title perf: optimize api image health check perf: optimize the api image health check Jun 19, 2024
@jooola jooola merged commit d99d6e1 into libretime:main Jun 22, 2024
11 checks passed
@jooola
Copy link
Contributor
jooola commented Jun 22, 2024

Thanks!

jooola pushed a commit that referenced this pull request Jun 22, 2024
🤖 I have created a release *beep* *boop*
---


## [4.2.0](4.1.0...4.2.0)
(2024-06-22)


### Features

* **legacy:** add current date macro to string block criteria
([#3013](#3013))
([451652b](451652b))
* **legacy:** add filename block criteria
([#3015](#3015))
([4642b6c](4642b6c))


### Bug Fixes

* pin pip version to <24.1 to allow installing pytz (celery)
([#3043](#3043))
([646bc81](646bc81))
* playlist allocates inaccurate time to smartblocks
([#3026](#3026))
([2b43e51](2b43e51))


### Performance Improvements

* optimize the api image health check
([#3038](#3038))
([d99d6e1](d99d6e1))
* optimize the rabbitmq health check
([#3037](#3037))
([9684214](9684214))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
< 622C /div>
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.

2 participants
0