We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4e6511 commit 77ba735Copy full SHA for 77ba735
invokeai/app/services/sqlite.py
@@ -59,6 +59,7 @@ def set(self, item: T):
59
f"""INSERT OR REPLACE INTO {self._table_name} (item) VALUES (?);""",
60
(item.json(),),
61
)
62
+ self._conn.commit()
63
finally:
64
self._lock.release()
65
self._on_changed(item)
@@ -84,6 +85,7 @@ def delete(self, id: str):
84
85
self._cursor.execute(
86
f"""DELETE FROM {self._table_name} WHERE id = ?;""", (str(id),)
87
88
89
90
91
self._on_deleted(id)
0 commit comments