Stop limiting WS frame size to 16kb for large number of test suites (#353)

This commit is contained in:
Yuta Saito 2022-05-24 07:30:42 +09:00 committed by GitHub
parent 7b4c35fc6a
commit c295a21df0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -59,7 +59,8 @@ extension Application {
} }
} }
webSocket("watcher") { request, ws in // Don't limit the size of frame to accept large test outputs
webSocket("watcher", maxFrameSize: .init(integerLiteral: Int(UInt32.max))) { request, ws in
let environment = request.headers["User-Agent"].compactMap(DestinationEnvironment.init).first let environment = request.headers["User-Agent"].compactMap(DestinationEnvironment.init).first
?? .other ?? .other