Run pulse:check every minute to gather server statistics#48
Merged
davidharting merged 10 commits intomainfrom May 5, 2025
Merged
Run pulse:check every minute to gather server statistics#48davidharting merged 10 commits intomainfrom
davidharting merged 10 commits intomainfrom
Conversation
But I'm not running the scheduler yet!
Needs a health check though
With docker-compose locally of course! Issues so far: - web server considered unhealthy (but seems to be working fine?) - no hot reloading =D (future problem) - cron server considered unhealthy (no healthcheck) - Need to run seeders automatically
Owner
Author
|
Owner
Author
I was thinking that this was a readiness probe. It is not it's doing this check every second for the lifetime of the app. e.g., see docs |
Cron is basically the same as the queue:work healthcheck. But i realized that i configured it to be more like a readiness probe with the very aggressive every 1s interval. so i am using 30s here. However, I am leaving database at 1s because I need database to be ready before anything else can start. (I use depends_on for this). I don't want to sit around for 30s with a ready database that docker doesn't know is ready before it will start up my webserver. Maybe I should just remove the dependency actually for the webserver though instead. that would be a different possibly better way to fix it. like if the db is down do i actually want my webserver to be down? probably not. better to just start?
not the database though still at 1s see prior commit
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.
To do this, also need to: