File tree Expand file tree Collapse file tree
src/python_response_time/core Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414jobs :
1515 cache :
1616 uses : milsman2/python-app-template/.github/workflows/cache-uv-build.yaml@main
17-
17+ with :
18+ UV_VERSION : ${{ vars.UV_VERSION }}
19+ PYTHON_VERSION : ${{ vars.PYTHON_VERSION }}
1820 lint :
1921 uses : milsman2/python-app-template/.github/workflows/ruff.yaml@main
2022 needs : cache
21-
23+ with :
24+ UV_VERSION : ${{ vars.UV_VERSION }}
25+ PYTHON_VERSION : ${{ vars.PYTHON_VERSION }}
2226 test :
2327 needs : [lint, cache]
2428 uses : milsman2/python-app-template/.github/workflows/pytest.yaml@main
25-
29+ with :
30+ UV_VERSION : ${{ vars.UV_VERSION }}
31+ PYTHON_VERSION : ${{ vars.PYTHON_VERSION }}
2632 docker-build-and-image-scan :
2733 if : github.event_name == 'push'
2834 needs : test
2935 uses : milsman2/python-app-template/.github/workflows/docker-build-and-scan.yaml@main
3036 with :
3137 DOCKER_PATH_CONTEXT : .
3238 DOCKER_BUILD_DOCKERFILE : ./Dockerfile
33- DOCKER_TAGS : ${{ github.repository }}:${{ github.sha }}
39+ DOCKER_TAGS : ${{ vars.DOCKER_USERNAME }}/${{ vars.DOCKER_REPOSITORY }}:${{ github.sha }}
3440 DOCKER_LOAD_BOOL : false
3541 DOCKER_PUSH_BOOL : ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') }}
42+ DOCKER_USERNAME : ${{ vars.DOCKER_USERNAME }}
3643 secrets : inherit
3744
3845 release :
4249 permissions :
4350 contents : write
4451 secrets : inherit
52+ with :
53+ DOCKER_USERNAME : ${{ vars.DOCKER_USERNAME }}
54+ DOCKER_REPOSITORY : ${{ vars.DOCKER_REPOSITORY }}
55+ UV_VERSION : ${{ vars.UV_VERSION }}
56+ PYTHON_VERSION : ${{ vars.PYTHON_VERSION }}
57+ DOCKER_PATH_CONTEXT : .
58+ DOCKER_BUILD_DOCKERFILE : ./Dockerfile
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ class Settings(BaseSettings):
1717 ] = 10
1818 CONCURRENCY : Annotated [
1919 int , Field (gt = 0 , le = 10_000 , description = "Concurrent requests" )
20- ] = 2
20+ ] = 1
2121 TIMEOUT : Annotated [
2222 float , Field (gt = 0 , le = 120 , description = "Request timeout in seconds" )
2323 ] = 10.0
You can’t perform that action at this time.
0 commit comments