1
0
mirror of https://github.com/c9fe/22120.git synced 2024-07-04 19:05:36 +02:00

3.0.6xx new version with fixes for global install

This commit is contained in:
Cris Stringfellow 2023-07-23 10:23:25 +08:00
parent 9d4163a957
commit 68d04a3307
No known key found for this signature in database

View File

@ -18,5 +18,5 @@ const memoryAllocation = Math.floor((totalMemory / (1024 * 1024)) * 0.8); // Con
console.log(`Index can use up to: ${memoryAllocation}MB RAM`);
// Running the application
spawn('node', [`--max-old-space-size=${memoryAllocation}`, path.resolve(__dirname, 'build', 'diskernet.mjs')], { stdio: 'inherit' });
spawn('node', [`--max-old-space-size=${memoryAllocation}`, path.resolve(__dirname, 'build', 'diskernet.cjs')], { stdio: 'inherit' });