File tree Expand file tree Collapse file tree 4 files changed +22
-12
lines changed
Expand file tree Collapse file tree 4 files changed +22
-12
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ gateway等网关插件的高扩展性
99### 通过docker运行
1010
1111``` bash
12- docker run anjia0532/discovery-syncer-python:v2.7.4
12+ docker run anjia0532/discovery-syncer-python:v2.7.5
1313```
1414
1515特别的,` -c ` 支持配置远端http[ s] 的地址,比如读取静态资源的,比如读取nacos的
Original file line number Diff line number Diff line change 1+ import os
2+
13from funboost .timing_job .apscheduler_use_redis_store import funboost_background_scheduler_redis_store
24
35from core .lib import logger
68
79
810def register_scheduler (app ):
11+ funboost_background_scheduler_redis_store .set_process_jobs_redis_lock_key (f'{ os .getenv ("APP_NAME" , '' )} _process_jobs_redis_lock' )
912 funboost_background_scheduler_redis_store .start ()
Original file line number Diff line number Diff line change @@ -6,12 +6,16 @@ echo "Building docker image for discovery-syncer-python:${version}"
66
77docker build -f Dockerfile -t anjia0532/discovery-syncer-python:${version} ../../
88docker push anjia0532/discovery-syncer-python:${version}
9+ docker tag anjia0532/discovery-syncer-python:${version} anjia0532/discovery-syncer-python:latest
10+ docker push anjia0532/discovery-syncer-python:latest
911
1012echo " https://hub.docker.com/r/anjia0532/discovery-syncer-python/tags?page=&page_size=&ordering=&name=${version} "
1113
1214echo " Building docker image for discovery-syncer-python-backup:${version} "
1315
1416docker build -f BackupDockerfile -t anjia0532/discovery-syncer-python-backup:${version} ../../tools/
1517docker push anjia0532/discovery-syncer-python-backup:${version}
18+ docker tag anjia0532/discovery-syncer-python-backup:${version} anjia0532/discovery-syncer-python-backup:latest
19+ docker push anjia0532/discovery-syncer-python-backup:latest
1620
1721echo " https://hub.docker.com/r/anjia0532/discovery-syncer-python-backup/tags?page=&page_size=&ordering=&name=${version} "
Original file line number Diff line number Diff line change 1- fastapi == 0.115.13
2- python-dotenv == 1.1.0
3- typing-extensions == 4.14 .0
4- uvicorn [standard ]== 0.34.3
5- pytest == 8.4.1
1+ fastapi == 0.117.1
2+ python-dotenv == 1.1.1
3+ typing-extensions == 4.15 .0
4+ uvicorn [standard ]== 0.36.0
5+ pytest == 8.4.2
66# pytest-cov==5.0.0
77# pytest-html==4.1.1
88# pytest-asyncio==0.23.6
@@ -12,11 +12,14 @@ BeautifulReport==0.1.3
1212# aiocache~=0.12.2
1313# databases==0.9.0
1414# asyncpg==0.29.0
15- funboost == 49.1
16- pydantic-settings == 2.9.1
15+ funboost == 50.3
16+ pydantic-settings == 2.10.1
17+ persist-queue [extra ]
1718db-libs == 1.1
18- nb-time == 2.4
19- pydantic-yaml == 1.5.1
20- cachetools == 6.1 .0
19+ nb-time
20+ pydantic-yaml == 1.6.0
21+ cachetools == 6.2 .0
2122async-timeout == 5.0.1
22- SQLAlchemy == 2.0.41
23+ SQLAlchemy == 2.0.43
24+ elasticsearch == 8.19.1
25+ PyMySQL == 1.1.2
You can’t perform that action at this time.
0 commit comments