Skip to content

Commit

Permalink
feat(config): 默认超时时间调整为10s
Browse files Browse the repository at this point in the history
  • Loading branch information
aide-cloud committed Mar 31, 2024
1 parent 86381d1 commit ae772c4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions app/prom_agent/configs/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ env:
server:
http:
addr: 0.0.0.0:8000
timeout: 1s
timeout: 10s
grpc:
addr: 0.0.0.0:9000
timeout: 1s
timeout: 10s
#data:
# # 配置redis, 缓存使用redis, 否则使用本地存储
# redis:
Expand Down
6 changes: 3 additions & 3 deletions app/prom_server/configs/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ env:
server:
http:
addr: 0.0.0.0:8000
timeout: 1s
timeout: 10s
grpc:
addr: 0.0.0.0:9000
timeout: 1s
timeout: 10s
ws:
addr: 0.0.0.0:8888
timeout: 1s
timeout: 10s

# NOTE: 1.使用sqlite默认会在deploy/sql下生成init_sqlite.db数据库文件
# 2. 选择mysql, 把sqlite部分注释并创建名为prometheus_manager的数据库, 并配置主机:ip, 如:127.0.0.1:3306,下方redis配置同理
Expand Down

0 comments on commit ae772c4

Please sign in to comment.