MCPcopy
hub / github.com/browserless/browserless / onQueueFullHTTP

Method onQueueFullHTTP

src/router.ts:114–117  ·  view source on GitHub ↗
(_req: Request, res: Response)

Source from the content-addressed store, hash-verified

112 }
113
114 protected onQueueFullHTTP(_req: Request, res: Response) {
115 this.log.debug(`Queue is full, sending 429 response`);
116 return writeResponse(res, 429, 'Too many requests');
117 }
118
119 protected onQueueFullWebSocket(_req: Request, socket: stream.Duplex) {
120 this.log.debug(`Queue is full, sending 429 response`);

Callers

nothing calls this directly

Calls 2

writeResponseFunction · 0.85
debugMethod · 0.80

Tested by

no test coverage detected