Skip to content

Commit

Permalink
Correct type spec for the wal_max_entries configuration value.
Browse files Browse the repository at this point in the history
It can be undefined indicating that no value was got from the
environment..
  • Loading branch information
kjnilsson committed May 9, 2024
1 parent bd3cff0 commit f2bb3a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ra_system.erl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
wal_max_size_bytes => non_neg_integer(),
wal_compute_checksums => boolean(),
wal_max_batch_size => non_neg_integer(),
wal_max_entries => non_neg_integer(),
wal_max_entries => undefined | non_neg_integer(),
wal_write_strategy => default | o_sync | sync_after_notify,
wal_sync_method => datasync | sync | none,
wal_hibernate_after => non_neg_integer(),
Expand Down

0 comments on commit f2bb3a7

Please sign in to comment.