gpt4 book ai didi

arangodb - 查询后是否需要删除 arangodb 游标?

转载 作者:行者123 更新时间:2023-12-01 11:36:54 25 4
gpt4 key购买 nike

我想知道光标是否可以自动删除,还是应该手动删除。如果不删除,会不会造成内存泄漏?

最佳答案

当您检索所有请求的文件时,它将被自动删除。来自 docs :

The cursor will automatically be destroyed on the server when the client has retrieved all documents from it. The client can also explicitly destroy the cursor at any earlier time using an HTTP DELETE request. The cursor id must be included as part of the URL.

Note: the server will also destroy abandoned cursors automatically after a certain server-controlled timeout to avoid resource leakage.

关于arangodb - 查询后是否需要删除 arangodb 游标?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26033355/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com