Skip to content

Commit e671a24

Browse files
Merge pull request #167 from rabbitmq/writer-fullsweep_after-0
Set fullsweep_after=0 on the writer process
2 parents 1240e63 + 1e403e8 commit e671a24

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

erlang.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1465,7 +1465,7 @@ pkg_eunit_formatters_description = Because eunit's output sucks. Let's make it b
14651465
pkg_eunit_formatters_homepage = https://github.com/seancribbs/eunit_formatters
14661466
pkg_eunit_formatters_fetch = git
14671467
pkg_eunit_formatters_repo = https://github.com/seancribbs/eunit_formatters
1468-
pkg_eunit_formatters_commit = master
1468+
pkg_eunit_formatters_commit = main
14691469

14701470
PACKAGES += euthanasia
14711471
pkg_euthanasia_name = euthanasia

src/osiris_writer.erl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ handle_continue(#{name := Name,
206206
when ?IS_STRING(Name) ->
207207
process_flag(trap_exit, true),
208208
process_flag(message_queue_data, off_heap),
209+
process_flag(fullsweep_after, 0),
209210
Log = osiris_log:init(Config),
210211
%% reader context can only be cached _after_ log init as we need to ensure
211212
%% there is at least 1 segment/index pair and also that the log has been

0 commit comments

Comments
 (0)