Skip to content

Commit

Permalink
log-server: increase default selectQueryLimit
Browse files Browse the repository at this point in the history
  • Loading branch information
QuentinRoy committed Jan 31, 2024
1 parent 289f5f6 commit 09e128a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/rotten-maps-clap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@lightmill/log-server': minor
---

Significantly increase default select query limit of SQLiteStore
2 changes: 1 addition & 1 deletion packages/log-server/src/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import loglevel, { LogLevelDesc } from 'loglevel';
import { groupBy, last } from 'remeda';
import { arrayify } from './utils.js';

const DEFAULT_SELECT_QUERY_LIMIT = 10000;
const DEFAULT_SELECT_QUERY_LIMIT = 1000000;

const __dirname = url.fileURLToPath(new URL('.', import.meta.url));
const migrationFolder = path.join(__dirname, 'db-migrations');
Expand Down

0 comments on commit 09e128a

Please sign in to comment.