Open
Conversation
Based on experience...
qugu
reviewed
Nov 6, 2025
| interval: 30s | ||
| retries: 5 | ||
| start_period: 10s | ||
| timeout: 10s |
Contributor
There was a problem hiding this comment.
Nice! But could take longer than 10s when a semantic search is enabled:
root@807bf7e60f4d:/app# time celery -A gramps_webapi.celery inspect ping
(celery:231): Gtk-CRITICAL **: 17:46:33.599: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
INFO:sentence_transformers.SentenceTransformer:Use pytorch device_name: cpu
INFO:sentence_transformers.SentenceTransformer:Load pretrained SentenceTransformer: sentence-transformers/distiluse-base-multilingual-cased-v2
-> celery@807bf7e60f4d: OK
pong
1 node online.
real 0m12.493s
user 0m8.697s
sys 0m1.124s
In which scenario did you test?
Author
There was a problem hiding this comment.
I tried without semantic search enabled. In fact, those values were a start point and it just worked, that's why I didn't even try to adjust them.
I'll change that to 15.
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.
After investigating a little bit, this could be used for checking services' health. Also, tweaked dependencies in order to startup services upon healthy dependencies.
Hope this helps.