mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
Actually enable query timeouts 🤦
This commit is contained in:
parent
092a20088a
commit
4e150edb5b
1 changed files with 1 additions and 0 deletions
|
|
@ -45,6 +45,7 @@ class EventsDB implements NStore {
|
|||
constructor(private kysely: Kysely<DittoTables>) {
|
||||
this.store = new NDatabase(kysely, {
|
||||
fts: Conf.db.dialect,
|
||||
timeoutStrategy: Conf.db.dialect === 'postgres' ? 'setStatementTimeout' : undefined,
|
||||
indexTags: EventsDB.indexTags,
|
||||
searchText: EventsDB.searchText,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue