cameri / nostream

A Nostr Relay written in TypeScript
MIT License
729 stars 188 forks source link

Dynamic Configs #199

Open antonleviathan opened 1 year ago

antonleviathan commented 1 year ago

Description

Refactor to use a mix of file and db stored config values

Related Issue

https://github.com/Cameri/nostream/issues/197

Motivation and Context

This will make it easier to manage, specifically update, config values,

How Has This Been Tested?

TODO

Types of changes

Checklist:

coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 4184263694


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/repositories/config-repository.ts 0 19 0.0%
<!-- Total: 1 20 5.0% -->
Files with Coverage Reduction New Missed Lines %
src/handlers/request-handlers/root-request-handler.ts 9 13.79%
<!-- Total: 9 -->
Totals Coverage Status
Change from base Build 4148256062: -0.4%
Covered Lines: 1168
Relevant Lines: 1971

💛 - Coveralls
sonarcloud[bot] commented 1 year ago

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

3.8% 3.8% Coverage
15.5% 15.5% Duplication