如何增加 RethinkDB 中 ReQL 查询的响应时间
How to increase the responding time for ReQL query in RethinkDB
现在我的 table 中有 100 万条记录。当我尝试向 table 添加新的 column/variable 时,它显示超时 error.I 甚至试图限制数据摄入量,但它没有。谁能告诉我如何解决它。任何帮助都是可观的。
e: HTTP ReQL query timed out after 300 seconds in:
r.table("interestdata").update({"pick": 0});
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
提前致谢!
从rethink tutorial我们可以使用javascript或python等增加连接超时
r.connect({
host: 'localhost',
port: 28015,
db: 'test',
timeout:600
}
这对我有用。
现在我的 table 中有 100 万条记录。当我尝试向 table 添加新的 column/variable 时,它显示超时 error.I 甚至试图限制数据摄入量,但它没有。谁能告诉我如何解决它。任何帮助都是可观的。
e: HTTP ReQL query timed out after 300 seconds in:
r.table("interestdata").update({"pick": 0});
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
提前致谢!
从rethink tutorial我们可以使用javascript或python等增加连接超时
r.connect({
host: 'localhost',
port: 28015,
db: 'test',
timeout:600
}
这对我有用。