* fix(chalice): fixed Math-operators validation
refactor(chalice): search for sessions that have events for heatmaps

* refactor(chalice): search for sessions that have at least 1 location event for heatmaps

* fix(chalice): fixed Math-operators validation
refactor(chalice): search for sessions that have events for heatmaps

* refactor(chalice): search for sessions that have at least 1 location event for heatmaps

* feat(chalice): autocomplete return top 10 with stats

* fix(chalice): fixed autocomplete top 10 meta-filters

* fix(chalice): CH connexion logs
This commit is contained in:
Kraiem Taha Yassine 2024-12-06 15:16:14 +01:00 committed by GitHub
parent ac47e339cf
commit 962385651f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -18,6 +18,14 @@ if config('ch_receive_timeout', cast=int, default=-1) > 0:
logging.info(f"CH-receive_timeout set to {config('ch_receive_timeout')}s")
settings = {**settings, "receive_timeout": config('ch_receive_timeout', cast=int)}
logger.info("-- CH config --")
logger.info(f'host={config("ch_host")}')
logger.info(f'database={config("ch_database", default="default")}')
logger.info(f'user={config("ch_user", default="default")}')
logger.info(f'password={config("ch_password", default="")}')
logger.info(f'port={config("ch_port_http", cast=int)}')
logger.info(f'settings={settings}')
extra_args = {}
if config("CH_COMPRESSION", cast=bool, default=True):
extra_args["compression"] = "lz4"