bugfixes; research subproc; higher sandbox limits
This commit is contained in:
@@ -18,6 +18,10 @@ export class RealtimePoller {
|
||||
|
||||
this.pollingLoop = null;
|
||||
this.heartbeatLoop = null;
|
||||
|
||||
// Called with (jobId, error) when a subscription terminates abnormally.
|
||||
// Set by IngestorWorker to release the slot in SlotPool.
|
||||
this.onJobComplete = null;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -147,6 +151,7 @@ export class RealtimePoller {
|
||||
} catch (zmqErr) {
|
||||
this.logger.error({ jobId, error: zmqErr.message }, 'Failed to send WorkComplete after error');
|
||||
}
|
||||
if (this.onJobComplete) this.onJobComplete(jobId, error);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user