Skip to content

fix(eventsourcingdb): separate handler retries from observer reconnects#56

Merged
dgoerdes merged 3 commits into
mainfrom
feature/esdb-observer-retry-fix
Jul 17, 2026
Merged

fix(eventsourcingdb): separate handler retries from observer reconnects#56
dgoerdes merged 3 commits into
mainfrom
feature/esdb-observer-retry-fix

fix code smell

91b9243
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jul 17, 2026 in 30s

Annotations

Check failure on line 242 in packages/eventsourcingdb/src/lib/eventObserver.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 30 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=overlap-dev_Nimbus&issues=AZ9wDL-Ha-gKKk8aBxcy&open=AZ9wDL-Ha-gKKk8aBxcy&pullRequest=56

Check warning on line 143 in packages/eventsourcingdb/src/lib/eventObserver.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'retryOptions' is deprecated.

See more on https://sonarcloud.io/project/issues?id=overlap-dev_Nimbus&issues=AZ9wDL-Ha-gKKk8aBxcx&open=AZ9wDL-Ha-gKKk8aBxcx&pullRequest=56

Check warning on line 139 in packages/eventsourcingdb/src/lib/eventObserver.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'retryOptions' is deprecated.

See more on https://sonarcloud.io/project/issues?id=overlap-dev_Nimbus&issues=AZ9wDL-Ha-gKKk8aBxcw&open=AZ9wDL-Ha-gKKk8aBxcw&pullRequest=56