Skip to content

Conversation

@tetebueno
Copy link

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.

interval: 30s
retries: 5
start_period: 10s
timeout: 10s
Copy link
Contributor

@qugu qugu Nov 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

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