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
|
||||
if (CONFIG.MAIN.NODE_ENV === 'production') {
|
||||
try {
|
||||
process.send('ready');
|
||||
} catch (err) {
|
||||
log(0, `Failed to send ready signal to parent process. ${err.message}`);
|
||||
}
|
||||
}
|
||||
process.send && process.send('ready');
|
||||
|
||||
// AbuseIPDB
|
||||
let cycleId = 1;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue