Skip to content

Worker change - reduces memory usage by 60%#109

Merged
GitTimeraider merged 3 commits into
mainfrom
develop
May 18, 2026
Merged

Worker change - reduces memory usage by 60%#109
GitTimeraider merged 3 commits into
mainfrom
develop

Conversation

@GitTimeraider
Copy link
Copy Markdown
Owner

Worker change - reduces memory usage by 60%

dependabot Bot and others added 3 commits May 14, 2026 02:07
Bumps [requests](https://github.com/psf/requests) from 2.33.1 to 2.34.1.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](psf/requests@v2.33.1...v2.34.1)

---
updated-dependencies:
- dependency-name: requests
  dependency-version: 2.34.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
…uests-2.34.1

Bump requests from 2.33.1 to 2.34.1
Copilot AI review requested due to automatic review settings May 18, 2026 11:52
@GitTimeraider GitTimeraider merged commit 292f07e into main May 18, 2026
5 checks passed
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adjusts the container runtime configuration to reduce memory usage by changing Gunicorn’s concurrency model, and updates the pinned requests dependency version.

Changes:

  • Switch Gunicorn from 4 worker processes to 1 worker process with 4 threads.
  • Bump requests from 2.33.1 to 2.34.1.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

File Description
start.sh Changes Gunicorn worker/thread settings to reduce memory footprint.
requirements.txt Updates the pinned requests version.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread start.sh
# Start the Flask application
echo "Starting Gunicorn server..."
exec gunicorn --bind 0.0.0.0:8080 --workers 4 --timeout 120 app:app
exec gunicorn --bind 0.0.0.0:8080 --workers 1 --threads 4 --timeout 120 app:app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants