Keep startup database rebuilds out of memory
This commit is contained in:
@@ -15,7 +15,7 @@ describe('prepared statement caching', () => {
|
||||
try {
|
||||
const handle = db();
|
||||
expect(handle.pragma('cache_size', { simple: true })).toBe(-131072);
|
||||
expect(handle.pragma('temp_store', { simple: true })).toBe(2);
|
||||
expect(handle.pragma('temp_store', { simple: true })).toBe(1);
|
||||
expect(handle.pragma('journal_size_limit', { simple: true })).toBe(67108864);
|
||||
const pragma = vi.spyOn(handle, 'pragma');
|
||||
vi.advanceTimersByTime(60 * 60_000);
|
||||
|
||||
Reference in New Issue
Block a user