Skip to content

Commit c1ba7a9

Browse files
committed
graph/db: increase default page size
1 parent a6b0770 commit c1ba7a9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

graph/db/sql_store.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ import (
3333

3434
// pageSize is the limit for the number of records that can be returned
3535
// in a paginated query. This can be tuned after some benchmarks.
36-
const pageSize = 2000
36+
//
37+
// TODO(elle): make this configurable & have different defaults for SQLite and
38+
// Postgres.
39+
const pageSize = 10000
3740

3841
// ProtocolVersion is an enum that defines the gossip protocol version of a
3942
// message.

0 commit comments

Comments
 (0)