Skip to content

Commit

Permalink
Cache fewer
Browse files Browse the repository at this point in the history
  • Loading branch information
quincylvania committed Feb 8, 2025
1 parent 9439916 commit 5754d94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { fileURLToPath } from 'url';
const __dirname = dirname(fileURLToPath(import.meta.url));

const geotiffCache = new LRUCache({
max: 100 // most geotiffs to cache in memory at once
max: 10 // most geotiffs to cache in memory at once
});
const inflightPromises = {};
const app = express();
Expand Down

0 comments on commit 5754d94

Please sign in to comment.