diff --git a/.changeset/rotten-maps-clap.md b/.changeset/rotten-maps-clap.md new file mode 100644 index 00000000..1174c9b6 --- /dev/null +++ b/.changeset/rotten-maps-clap.md @@ -0,0 +1,5 @@ +--- +'@lightmill/log-server': minor +--- + +Significantly increase default select query limit of SQLiteStore diff --git a/packages/log-server/src/store.ts b/packages/log-server/src/store.ts index bd99c30a..f80ee6cb 100644 --- a/packages/log-server/src/store.ts +++ b/packages/log-server/src/store.ts @@ -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');