Added chunking to media duplicate queries to prevent overloading parameters. Added DP Diva to Perv City (coming soon).

This commit is contained in:
DebaucheryLibrarian
2022-04-02 00:32:23 +02:00
parent 17e5ce71b2
commit 5e499c3685
28 changed files with 65 additions and 29 deletions

View File

@@ -85,23 +85,6 @@ async function startMemorySample(snapshotTriggers = []) {
}, config.memorySampling.sampleDuration);
}
async function startMemorySample() {
await inspector.heap.enable();
await inspector.heap.startSampling();
// monitorMemory();
logger.info(`Start heap sampling, memory usage: ${process.memoryUsage.rss() / 1000000} MB`);
setTimeout(async () => {
await stopMemorySample();
if (!done) {
await startMemorySample();
}
}, 30000);
}
async function init() {
try {
if (argv.server) {