changes to go func

merge-requests/4/head
Matthew 2020-07-07 21:21:19 -04:00
parent 529a640d9e
commit 85dd17eebb
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ export default async function storage(client: Client) {
client.signale.log(`Go storage func exited with code ${code}, restarting`); client.signale.log(`Go storage func exited with code ${code}, restarting`);
storageGo = spawn(`${__dirname}/../bin/storage`, [], { cwd: __dirname }); storageGo = spawn(`${__dirname}/../bin/storage`, [], { cwd: __dirname });
}); */ }); */
await start();
client.signale.info(`Activated CSD-GO-STR daemon startup interval. Starting in ${intervalTiming / 60000}min.`); client.signale.info(`Activated CSD-GO-STR daemon startup interval. Starting in ${intervalTiming / 60000}min.`);
interval = setInterval(async () => { interval = setInterval(async () => {
intervalTiming = await determineInterval(client); intervalTiming = await determineInterval(client);