mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2026-09-29 09:05:06 -07:00
cache size?
This commit is contained in:
+5
-2
@@ -41,8 +41,11 @@ const ORMModules = [
|
|||||||
logging: false,
|
logging: false,
|
||||||
enableWAL: true,
|
enableWAL: true,
|
||||||
busyErrorRetry: 120 * 1000,
|
busyErrorRetry: 120 * 1000,
|
||||||
busyTimeout: 120 * 1000,
|
extra: {
|
||||||
|
pragma: {
|
||||||
|
'cache_size': 100000,
|
||||||
|
},
|
||||||
|
}
|
||||||
}),
|
}),
|
||||||
CacheModule.register(),
|
CacheModule.register(),
|
||||||
ScheduleModule.forRoot(),
|
ScheduleModule.forRoot(),
|
||||||
|
|||||||
@@ -88,8 +88,6 @@ export class StratumV1Service implements OnModuleInit {
|
|||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
server.maxConnections = 300;
|
|
||||||
|
|
||||||
server.listen(3333, () => {
|
server.listen(3333, () => {
|
||||||
console.log(`Bitcoin Stratum server is listening on port ${3333}`);
|
console.log(`Bitcoin Stratum server is listening on port ${3333}`);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user