We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
kqueue
2 parents 6afcde9 + a2d9b31 commit 690c76fCopy full SHA for 690c76f
src/backend/kqueue.zig
@@ -437,6 +437,9 @@ pub const Loop = struct {
437
// Only resubmit if we aren't already active (in the queue)
438
.rearm => if (!c_active) self.submissions.push(c),
439
}
440
+
441
+ // If we filled the events slice, we break to avoid overflow.
442
+ if (changes == events.len) break;
443
444
445
// Determine our next timeout based on the timers
0 commit comments