Skip to content

Commit c30ae67

Browse files
authored
Merge pull request #9367 from rabbitmq/hibernate-after
Avoid unnecessary hibernation in writer procs
2 parents aa9e4ab + 0eaaa19 commit c30ae67

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

deps/rabbit_common/src/rabbit_writer.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
writer_gc_threshold
6363
}).
6464

65-
-define(HIBERNATE_AFTER, 5000).
65+
-define(HIBERNATE_AFTER, 6_000).
6666
%% 1GB
6767
-define(DEFAULT_GC_THRESHOLD, 1_000_000_000).
6868

deps/rabbitmq_amqp1_0/src/rabbit_amqp1_0_writer.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
-record(wstate, {sock, channel, frame_max, protocol, reader,
2323
stats_timer, pending}).
2424

25-
-define(HIBERNATE_AFTER, 5000).
25+
-define(HIBERNATE_AFTER, 6_000).
2626
-define(AMQP_SASL_FRAME_TYPE, 1).
2727

2828
%%---------------------------------------------------------------------------

0 commit comments

Comments
 (0)