Skip to content

Commit

Permalink
tmp: zero limit on defer queues
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukáš Ondráček committed Nov 21, 2024
1 parent a4cbb25 commit 54c9e97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon/defer.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
#define IDLE_TIMEOUT 1000000 // ns (THREAD_CPUTIME); if exceeded, continue processing after next poll phase
#define PHASE_UDP_TIMEOUT 400000 // ns (THREAD_CPUTIME); switch between udp, non-udp phases
#define PHASE_NON_UDP_TIMEOUT 400000 // ns (THREAD_CPUTIME); after timeout or emptying queue
#define MAX_WAITING_REQS_SIZE (64 * 1024 * 1024) // bytes; if exceeded, some deferred requests are processed in poll phase
#define MAX_WAITING_REQS_SIZE 0 // bytes; if exceeded, some deferred requests are processed in poll phase
// single TCP allocates more than 64KiB wire buffer
// TODO check whether all important allocations are counted;
// different things are not counted: tasks and subsessions (not deferred after created), uv handles, queues overhead, ...;
Expand Down

0 comments on commit 54c9e97

Please sign in to comment.