Skip to content

Commit 640eb0b

Browse files
hperlory-bot
authored andcommitted
feat: forward (some) user request headers to SMS HTTP channel
GitOrigin-RevId: 2f63cc936d612b530a3b1058656e54716f71559f
1 parent 9746c8a commit 640eb0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

oryx/dbal/dsn.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func NewSQLiteTestDatabase(t testing.TB) string {
3636
// NewSQLiteInMemoryDatabase creates a new in-memory, unique SQLite database
3737
// which is shared amongst all callers and identified by an individual file name.
3838
func NewSQLiteInMemoryDatabase(name string) string {
39-
return fmt.Sprintf("sqlite://file:%s?_fk=true&mode=memory&cache=shared&_busy_timeout=10000", name)
39+
return fmt.Sprintf("sqlite://file:%s?_fk=true&mode=memory&cache=shared&_busy_timeout=100000", name)
4040
}
4141

4242
// NewSQLiteDatabase creates a new on-disk, unique SQLite database
@@ -47,5 +47,5 @@ func NewSQLiteInMemoryDatabase(name string) string {
4747
// Additionally, shared cache mode is deprecated and discouraged, and the problem is better solved with the WAL,
4848
// according to official docs.
4949
func NewSQLiteDatabase(name string) string {
50-
return fmt.Sprintf("sqlite://file:%s/db.sqlite?_fk=true&_journal_mode=WAL&_busy_timeout=10000", name)
50+
return fmt.Sprintf("sqlite://file:%s/db.sqlite?_fk=true&_journal_mode=WAL&_busy_timeout=100000", name)
5151
}

0 commit comments

Comments
 (0)