Skip to content

Commit

Permalink
chore: more reasonable buffer size
Browse files Browse the repository at this point in the history
  • Loading branch information
koraykoska committed Oct 10, 2023
1 parent fdcb674 commit ac2aad2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/libwebsockets/WebsocketFrameSequence.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit ac2aad2

Please sign in to comment.