Features: 1) Add auto_refresh attribute to Elasticsearch documents with default False;

Fixes: None;

Extra: 1) Remove unused healthcheck configuration from `docker-compose.yml`.
This commit is contained in:
Egor Pavlovich Gorbunov 2025-06-22 23:37:57 +03:00
parent 58b227c2d6
commit b0aa8e0906
2 changed files with 1 additions and 6 deletions

View file

@ -127,6 +127,7 @@ class TestModelDocument(Document):
]
ignore_signals = True
related_models: list = []
auto_refresh = False
registry.register_document(TestModelDocument)

View file

@ -25,12 +25,6 @@ services:
elasticsearch:
condition: service_healthy
logging: *default-logging
healthcheck:
test: [ "CMD-SHELL", "curl --header 'Accept: application/json' -f http://localhost:8000/health/ || exit 1" ]
interval: 30s
timeout: 10s
retries: 5
start_period: 10s
database:
container_name: database