Skip to content

Commit

Permalink
Lower buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
Kimiblock committed Feb 25, 2024
1 parent 84e7621 commit d7e3939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snotify.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func monitorDbus(path, member string) {
return
}

buf := make([]byte, 2048) // Limit the line length to 2048 bytes
buf := make([]byte, 512) // Limit the line length to 512 bytes

for {
n, err := stdout.Read(buf)
Expand Down

0 comments on commit d7e3939

Please sign in to comment.