Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 081bbd9

Browse files
committed
common: Raise the SQLite limit "# of compound selects" that we allow
Our backend logs indicate some people are running into the current limit (3) when using their databases, so lets raise it to 30 and see how they go.
1 parent bb6b428 commit 081bbd9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

common/sqlite.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ func OpenSQLiteDatabaseDefensive(w http.ResponseWriter, r *http.Request, dbOwner
393393
},
394394
{
395395
name: sqlite.LimitCompoundSelect,
396-
val: 3,
396+
val: 30,
397397
},
398398
{
399399
name: sqlite.LimitVdbeOp,
@@ -565,7 +565,7 @@ func OpenSQLiteDatabaseLive(baseDir, dbOwner, dbName string) (sdb *sqlite.Conn,
565565
},
566566
{
567567
name: sqlite.LimitCompoundSelect,
568-
val: 3,
568+
val: 30,
569569
},
570570
{
571571
name: sqlite.LimitVdbeOp,

0 commit comments

Comments
 (0)