Skip to content

Commit 6a4171d

Browse files
author
Kushagra Singh Bisen
committed
Refactor start_notification_aggregator_process.ts to pass additional argument to forked process
1 parent fa8511e commit 6a4171d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

start_notification_aggregator_process.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { fork, ChildProcess } from 'child_process';
22

33
export function startNotificationAggregatorProcess() {
4-
const aggregator_process: ChildProcess = fork('./dist/index.js')
4+
const aggregator_process: ChildProcess = fork('./dist/index.js', ['cache-notifications']);
55

66
aggregator_process.on('message', (message: string) => {
77
console.log(`Message from the notification aggregator process: ${message}`);

0 commit comments

Comments
 (0)