Skip to content

Commit

Permalink
avoid race in db connection
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkeye217 committed Oct 7, 2024
1 parent 78a5075 commit 5cda95f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frigate/db/sqlitevecq.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

class SqliteVecQueueDatabase(SqliteQueueDatabase):
def __init__(self, *args, load_vec_extension: bool = False, **kwargs) -> None:
super().__init__(*args, **kwargs)
self.load_vec_extension: bool = load_vec_extension
super().__init__(*args, **kwargs)

# no extension necessary, sqlite will load correctly for each platform
self.sqlite_vec_path = "/usr/local/lib/vec0"
Expand Down

0 comments on commit 5cda95f

Please sign in to comment.