Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[REQUEST] Dynamic Config (store-based) for Settings

Đang mở
#197 0 bình luận 0 reaction 2 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@antonleviathan đang làm issue này rồi.

Từ ngày 12/2/2023.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

enhancement

Is your feature request related to a problem? Please describe.
Settings are difficult to manage across different environments, and at scale for clusters of relays.

Describe the solution you'd like
The config values should be loaded from the DB using a bson object stored in the db, proper table for configs or a combination of both.

Describe alternatives you've considered
The complexity of describing the schema for the settings yaml file is making me lean towards a single bson object which is manipulated to update config values, but it does make sense for some settings to remain in a file (ones that aren't updated as frequently). Additionally, consider using a framework/lib to help manage configs like https://www.npmjs.com/package/config. It's better if we can do this without an added library, but it should be assessed.

Ngôn ngữ chính
TypeScript
Star
829
Fork
234
Merge trung bình
2 ngày 10 giờ
Pull request đã merge (30 ngày)
24

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của cameri/nostream

Tất cả issue của cameri/nostream

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.