Workers are started just once:
this.middleware is only set here:
|
if (!this.distPath) { |
|
this.middleware = this.noAppMiddleware(); |
|
} else { |
|
this.middleware = this.buildMiddleware(); |
|
} |
And then you're stuck with that middleware forever:
|
return this.httpServer.serve(this.middleware) |
For bonus points, fastbootMiddleware here:
|
serve(fastbootMiddleware) { |
...is therefore possibly not a FastBoot middleware which is a super troll since we expose httpServer as a downstream API.
Workers are
startedjust once:fastboot-app-server/src/fastboot-app-server.js
Line 53 in a5d194e
this.middlewareis only set here:fastboot-app-server/src/worker.js
Lines 45 to 49 in a5d194e
And then you're stuck with that
middlewareforever:fastboot-app-server/src/worker.js
Line 87 in a5d194e
For bonus points,
fastbootMiddlewarehere:fastboot-app-server/src/express-http-server.js
Line 26 in a5d194e
...is therefore possibly not a FastBoot middleware which is a super troll since we expose
httpServeras a downstream API.