process.send && process.send('ready');
This commit is contained in:
parent
53f3362832
commit
ec52792706
1 changed files with 1 additions and 7 deletions
8
index.js
8
index.js
|
|
@ -103,13 +103,7 @@ const reportIP = async (event, uri, country, hostname, endpoint, cycleErrorCount
|
||||||
}
|
}
|
||||||
|
|
||||||
// Ready
|
// Ready
|
||||||
if (CONFIG.MAIN.NODE_ENV === 'production') {
|
process.send && process.send('ready');
|
||||||
try {
|
|
||||||
process.send('ready');
|
|
||||||
} catch (err) {
|
|
||||||
log(0, `Failed to send ready signal to parent process. ${err.message}`);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// AbuseIPDB
|
// AbuseIPDB
|
||||||
let cycleId = 1;
|
let cycleId = 1;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue