forked from engineering/cloudservices
changes to go func
parent
529a640d9e
commit
85dd17eebb
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue