英文:
Extend timeout for Apache Superset ElasticSearch connector
问题
我正在尝试使用Apache Superset,并尝试使用Elasticsearch连接器来查询一些索引。对于一些基本操作,它运行正常,但是当我尝试创建需要超过10秒的图表时,它会抛出一个异常。
是否有配置设置可以增加连接器的超时时间?我似乎找不到任何相关设置。
elasticsearch.exceptions.ConnectionTimeout: ConnectionTimeout caused by - ReadTimeoutError(HTTPConnectionPool(host='host.docker.internal', port=9200): Read timed out. (read timeout=10))
英文:
I'm trying out Apache Superset, and I'm trying to use the Elasticsearch connector to be able to query some indices. It works fine for some basic things, however for larger data sets, when I try to create a chart that take > 10 seconds, it throws an exception.
Is there a config setting that will reach in and increase the timeout for connectors? I can't seem to find anything.
elasticsearch.exceptions.ConnectionTimeout: ConnectionTimeout caused by - ReadTimeoutError(HTTPConnectionPool(host='host.docker.internal', port=9200): Read timed out. (read timeout=10))
答案1
得分: 0
弄清楚了。在连接字符串中,您可以添加查询参数,如?timeout=100
。
英文:
Figured it out. In the connection string, you add query params like `?timeout=100'
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论