biothings / myvariant.info

MyVariant.info: A BioThings API for human variant annotations
http://myvariant.info
Other
86 stars 32 forks source link

`test_others.py` timeout #143

Open erikyao opened 2 years ago

erikyao commented 2 years ago

When running with es.biothings.io:9200, test_others.py will fail on

query?q=_exists_:gnomad_genome&size=0&assembly=hg38

The root cause is ES search timeout. The original configuration is in config_web.py:

# ES_HOST = 'es.biothings.io:9200'
ES_ARGS = {
    'timeout': 120,
}

With local experiments on su09, a reasonable setting should be >190 seconds.

erikyao commented 2 years ago

Fixed in commit https://github.com/biothings/myvariant.info/commit/b3d4b84372097ac07d0b613c263553f35edc3458