mirror of
https://github.com/zoriya/flood.git
synced 2025-12-06 07:16:18 +00:00
refactor(server): migrate to fastify (#707)
This commit is contained in:
@@ -17,7 +17,6 @@ export default (req: Request, res: Response, next: NextFunction) => {
|
||||
// Keep the connection open by sending a message every so often.
|
||||
const keepAliveTimeout = setInterval(() => {
|
||||
res.write(':keep-alive\n\n');
|
||||
res.flush();
|
||||
}, 500);
|
||||
|
||||
// cleanup on close
|
||||
|
||||
Reference in New Issue
Block a user