cache size?

This commit is contained in:
Ben Wilson 2023-08-03 23:40:43 -04:00
parent b6e71997e9
commit c017669062
2 changed files with 5 additions and 4 deletions

View File

@ -41,8 +41,11 @@ const ORMModules = [
logging: false,
enableWAL: true,
busyErrorRetry: 120 * 1000,
busyTimeout: 120 * 1000,
extra: {
pragma: {
'cache_size': 100000,
},
}
}),
CacheModule.register(),
ScheduleModule.forRoot(),

View File

@ -88,8 +88,6 @@ export class StratumV1Service implements OnModuleInit {
});
server.maxConnections = 300;
server.listen(3333, () => {
console.log(`Bitcoin Stratum server is listening on port ${3333}`);
});