Skip to content

Commit 48d4833

Browse files
committed
Heed Dialyzer on OTP 28 and fix an old bug
1 parent 269a2c6 commit 48d4833

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1616
- CI from Ubuntu 20.04 to 22.04
1717
- oldest supported OTP version from 22 to 24
1818

19+
### Fixed
20+
21+
- interval between retries when no database has yet been loaded
22+
[wrong since 1.10.0]
23+
1924
## [2.3.11] - 2024-12-15
2025

2126
### Added

src/locus_loader.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ update_error_backoff_count(Increment, State) ->
736736
time_to_next_update(LastFetchSource, State) ->
737737
#state{settings = Settings, error_backoff_count = ErrorBackoffCount} = State,
738738
{LastFetchSourceType, _} = LastFetchSource,
739-
HasAchievedReadiness = (State#state.last_loaded_version =/= unknown),
739+
HasAchievedReadiness = (State#state.last_loaded_version =/= undefined),
740740

741741
if LastFetchSourceType =:= cache ->
742742
0;

0 commit comments

Comments
 (0)