increase buffer to 2KiB

This commit is contained in:
discountchubbs
2025-12-09 06:02:39 -08:00
parent 68dc50546e
commit 898f782f86
+1 -1
View File
@@ -130,7 +130,7 @@ class ParamWatcher(Params):
while True:
for fileno, _ in poll.poll():
if fileno == fd:
buffer = os.read(fd, 1024)
buffer = os.read(fd, 2048)
i = 0
while i + 16 <= len(buffer):
_, mask, _, name_len = struct.unpack_from("iIII", buffer, i)