MCPcopy Index your code
hub / github.com/browserless/browserless / onQueueFullWebSocket

Method onQueueFullWebSocket

src/router.ts:119–122  ·  view source on GitHub ↗
(_req: Request, socket: stream.Duplex)

Source from the content-addressed store, hash-verified

117 }
118
119 protected onQueueFullWebSocket(_req: Request, socket: stream.Duplex) {
120 this.log.debug(`Queue is full, sending 429 response`);
121 return writeResponse(socket, 429, 'Too many requests');
122 }
123
124 protected onHTTPTimeout(_req: Request, res: Response) {
125 this.log.error(`HTTP job has timedout, sending 429 response`);

Callers

nothing calls this directly

Calls 2

writeResponseFunction · 0.85
debugMethod · 0.80

Tested by

no test coverage detected