Ivo Branco
Ivo Branco
Today, during the meeting with @sampaccoud, this issue has been discussed. It was decided that it would better to populate the cache with a limited ttl per business logic, instead...
@sampaccoud I've addeed a new function `new_elasticsearch_client` so it is possible to test the `ES_CLIENT` initialization. Nevertheless, I've removed the custom initialization of all the connections to the elasticsearch (all...
During meeting with @sampaccoud we have decided that I'm going to use the Django AppConfig https://github.com/openfun/richie/blob/master/src/richie/apps/search/apps.py , with the ready method to load other ES_CLIENT object. The `ES_CLIENT` that it's...
> I'm ok with this but it never happened to us so I'm thinking it may be a symptom that your Elasticsearch is not well dimensioned? We have and active-passive...
@sampaccoud nevertheless I could include also a different setting that allows to change the overall timeout. Probably on the file [`src/richie/apps/search/__init__.py` line 12.](https://github.com/openfun/richie/blob/master/src/richie/apps/search/__init__.py#L12-L14)
No. It is sending events when we use the frontend react code to enroll the students on the LMS. We would need at some point in future to include this...
Fixed linting problem.
> I understand the problem but I don't hink this can be a solution as it generates queries on each request so it defeats the purpose of cache.. Maybe the...
@sampaccoud I've found the method `get_cache_expiration` on https://docs.django-cms.org/en/support-3.1.x/reference/plugins.html but I think it won't work because we need to change the ttl of the course template.
Replaced by #1766