Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Commit

Permalink
fix(warp): set inMemory to false for sqlite database
Browse files Browse the repository at this point in the history
This should have been already set, it may be causing the memory issues we saw in the service.
  • Loading branch information
dtfiedler committed Nov 27, 2023
1 parent dda854e commit a4c2020
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/middleware/warp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ const warp = WarpFactory.forMainnet(
new SqliteContractCache(
{
...defaultCacheOptions,
inMemory: false,
dbLocation: `./cache/warp/sqlite/state`,
},
{
Expand Down

0 comments on commit a4c2020

Please sign in to comment.