Merge remote-tracking branch 'origin/dev' into ci-test-pr-1230
This commit is contained in:
commit
f9cfadac01
1 changed files with 3 additions and 2 deletions
|
|
@ -150,8 +150,9 @@ class KuzuAdapter(GraphDBInterface):
|
|||
|
||||
s3_file_storage = S3FileStorage("")
|
||||
|
||||
async with self.KUZU_ASYNC_LOCK:
|
||||
self.connection.execute("CHECKPOINT;")
|
||||
if self.connection:
|
||||
async with self.KUZU_ASYNC_LOCK:
|
||||
self.connection.execute("CHECKPOINT;")
|
||||
|
||||
s3_file_storage.s3.put(self.temp_graph_file, self.db_path, recursive=True)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue