Skip to content

Commit

Permalink
feat(backend): 更新gevent版本,使用 gevent 启动部分服务 #7133
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzhw8 committed Sep 25, 2024
1 parent dbf9a54 commit 63ab3ca
Show file tree
Hide file tree
Showing 6 changed files with 226 additions and 7 deletions.
220 changes: 219 additions & 1 deletion dbm-ui/poetry.lock

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dbm-ui/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ promql-parser = "0.3.3"
chardet = "^5.2.0"
django-debug-toolbar = "3.8.1"
setuptools = "^74.1.2"
gevent = "^24.2.1"

[tool.poetry.dev-dependencies]
flake8 = "7.1.1"
Expand Down
6 changes: 3 additions & 3 deletions helm-charts/bk-dbm/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ dependencies:
version: 7.9.8
- name: dbm
repository: file://charts/dbm
version: 0.1.43
version: 0.1.44
- name: dbconfig
repository: file://charts/dbconfig
version: 0.1.13
Expand Down Expand Up @@ -65,5 +65,5 @@ dependencies:
- name: db-dbha
repository: file://charts/db-dbha
version: 0.1.0
digest: sha256:3c575b03f6b51f8db997a5db4b4f5c85199d050d0ce3700c989a2481eba024ea
generated: "2024-09-24T12:16:55.926025+08:00"
digest: sha256:293e4133fc64f236159a34fdbc0ab61a732ef1fa5f7b76fa91c3de18d1c59d48
generated: "2024-09-25T19:33:01.490734+08:00"
2 changes: 1 addition & 1 deletion helm-charts/bk-dbm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ dependencies:
- condition: dbm.enabled
name: dbm
repository: file://charts/dbm
version: 0.1.43
version: 0.1.44
- condition: dbconfig.enabled
name: dbconfig
repository: file://charts/dbconfig
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/bk-dbm/charts/dbm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ appVersion: 1.5.0-alpha.623
description: A Helm chart for dbm
name: dbm
type: application
version: 0.1.43
version: 0.1.44
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ spec:
- /bin/bash
- -c
args:
- export SERVICE_ONLY=true && gunicorn wsgi -w {{ .Values.saas.backendApi.gunicornWorker }} -b :8000 --access-logfile - --error-logfile - --access-logformat '[%(h)s] %({request_id}i)s %(u)s %(t)s "%(r)s" %(s)s %(D)s %(b)s "%(f)s" "%(a)s"'
- export SERVICE_ONLY=true && gunicorn wsgi -k gevent -w {{ .Values.saas.backendApi.gunicornWorker }} -b :8000 --access-logfile - --error-logfile - --access-logformat '[%(h)s] %({request_id}i)s %(u)s %(t)s "%(r)s" %(s)s %(D)s %(b)s "%(f)s" "%(a)s"'
ports:
- name: http
containerPort: 8000
Expand Down

0 comments on commit 63ab3ca

Please sign in to comment.