From ac2aad26bab55742cf6846501a73a42d563e42ad Mon Sep 17 00:00:00 2001 From: Koray Koska <11356621+koraykoska@users.noreply.github.com> Date: Tue, 10 Oct 2023 15:32:21 +0200 Subject: [PATCH] chore: more reasonable buffer size --- Sources/libwebsockets/WebsocketFrameSequence.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/libwebsockets/WebsocketFrameSequence.swift b/Sources/libwebsockets/WebsocketFrameSequence.swift index 52205b8..28c1583 100644 --- a/Sources/libwebsockets/WebsocketFrameSequence.swift +++ b/Sources/libwebsockets/WebsocketFrameSequence.swift @@ -27,7 +27,7 @@ public struct WebsocketSimpleAppendFrameSequence: WebsocketFrameSequence { private var _textBuffer: Data public let type: WebsocketOpcode - private let bufferSize = 1000000 + private let bufferSize = 100000 public init(type: WebsocketOpcode) { self._binaryBuffer = Data()