summaryrefslogtreecommitdiff
path: root/vendor/modernc.org/sqlite/norlimit.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2022-05-18 16:58:26 +0200
committerLibravatar GitHub <noreply@github.com>2022-05-18 15:58:26 +0100
commitf4b0d76cd4ae936a1d327c8a06adf0f50a80b8ad (patch)
treeae39ceff207b2f67dfc4a6971816f29d95507806 /vendor/modernc.org/sqlite/norlimit.go
parent[chore] Timeline test updates (#578) (diff)
downloadgotosocial-f4b0d76cd4ae936a1d327c8a06adf0f50a80b8ad.tar.xz
[performance] Add further indexes to mitigate laggy queries (#586)
* start adding more indexes as a migration * update sqlite version
Diffstat (limited to 'vendor/modernc.org/sqlite/norlimit.go')
-rw-r--r--vendor/modernc.org/sqlite/norlimit.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/vendor/modernc.org/sqlite/norlimit.go b/vendor/modernc.org/sqlite/norlimit.go
new file mode 100644
index 000000000..4d81a0f98
--- /dev/null
+++ b/vendor/modernc.org/sqlite/norlimit.go
@@ -0,0 +1,10 @@
+// Copyright 2021 The Sqlite Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+//go:build !freebsd && !ppc64le
+// +build !freebsd,!ppc64le
+
+package sqlite // import "modernc.org/sqlite"
+
+func setMaxOpenFiles(n int) error { return nil }