MCPcopy Index your code
hub / github.com/PrairieLearn/PrairieLearn / endJob

Method endJob

lib/load.js:35–43  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

33 }
34
35 endJob(id) {
36 debug(`LoadEstimator.endJob(): jobType = ${this.jobType}, id = ${id}`);
37 this._addIntegratedLoad();
38 if (_.has(this.currentJobs, id)) {
39 delete this.currentJobs[id];
40 } else {
41 logger.error(`load.endJob(): ${this.jobType} no such id: ${id}`);
42 }
43 }
44
45 close() {
46 debug(`LoadEstimator.close(): jobType = ${this.jobType}`);

Callers 5

server.jsFile · 0.80
endJobFunction · 0.80
_handleChildExitMethod · 0.80
getPythonCallerFunction · 0.80
returnPythonCallerFunction · 0.80

Calls 2

_addIntegratedLoadMethod · 0.95
debugFunction · 0.85

Tested by

no test coverage detected