File tree Expand file tree Collapse file tree 2 files changed +2
-13
lines changed
.github/actions/edgedb-setup Expand file tree Collapse file tree 2 files changed +2
-13
lines changed Original file line number Diff line number Diff line change 6
6
- name : Setup EdgeDB
7
7
uses : edgedb/setup-edgedb@v1
8
8
9
- - run : edgedb configure set session_idle_transaction_timeout 5min
10
- shell : bash
11
-
12
9
- name : Generate EdgeDB TS files
13
10
shell : bash
14
11
run : yarn edgedb:gen
Original file line number Diff line number Diff line change 1
1
import { Module , OnModuleDestroy } from '@nestjs/common' ;
2
2
import { APP_INTERCEPTOR } from '@nestjs/core' ;
3
- import { ConnectOptions , createClient , Duration } from 'edgedb' ;
3
+ import { ConnectOptions , createClient } from 'edgedb' ;
4
4
import { IdResolver } from '~/common/validators/short-id.validator' ;
5
5
import type { ConfigService } from '~/core' ;
6
6
import { splitDb } from '../database/split-db.provider' ;
@@ -19,15 +19,7 @@ import { TransactionContext } from './transaction.context';
19
19
providers : [
20
20
{
21
21
provide : Options ,
22
- useValue : Options . defaults ( ) . withConfig ( {
23
- // Bump from 1 min, as needed by test suite.
24
- // It's probably because we open & do more with in the transaction
25
- // than is expected by the library.
26
- // I'm not worried about this, and it's possible this can be removed
27
- // after migration if app overall is faster without Neo4j.
28
- // eslint-disable-next-line @typescript-eslint/naming-convention
29
- session_idle_transaction_timeout : Duration . from ( { minutes : 5 } ) ,
30
- } ) ,
22
+ useValue : Options . defaults ( ) ,
31
23
} ,
32
24
OptionsContext ,
33
25
{
You can’t perform that action at this time.
0 commit comments