gunicorn stuff

This commit is contained in:
Bryan Gerlach
2026-02-17 16:36:58 -06:00
parent e2389cc6f3
commit f45cd77923
5 changed files with 12 additions and 9 deletions

View File

@@ -397,7 +397,7 @@ jobs:
timeout_minutes: 1
max_attempts: 3
shell: bash
continue-on-error: true
continue_on_error: true
command: |
wget https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/cycle_monitor.diff
git apply cycle_monitor.diff
@@ -409,6 +409,7 @@ jobs:
timeout_minutes: 1
max_attempts: 3
shell: bash
continue_on_error: true
command: |
wget https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/xoffline.diff
git apply xoffline.diff
@@ -420,6 +421,7 @@ jobs:
timeout_minutes: 1
max_attempts: 3
shell: bash
continue_on_error: true
command: |
wget https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/hidecm.diff
git apply hidecm.diff

View File

@@ -223,7 +223,7 @@ jobs:
timeout_minutes: 1
max_attempts: 3
shell: pwsh
continue-on-error: true
continue_on_error: true
command: |
Invoke-WebRequest -Uri https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/allowCustom.diff -OutFile allowCustom.diff
git apply allowCustom.diff

View File

@@ -414,7 +414,7 @@ jobs:
timeout_minutes: 1
max_attempts: 3
shell: pwsh
continue-on-error: true
continue_on_error: true
command: |
Invoke-WebRequest -Uri https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/cycle_monitor.diff -OutFile cycle_monitor.diff
git apply cycle_monitor.diff
@@ -426,7 +426,7 @@ jobs:
timeout_minutes: 1
max_attempts: 3
shell: pwsh
continue-on-error: true
continue_on_error: true
command: |
Invoke-WebRequest -Uri https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/xoffline.diff -OutFile xoffline.diff
git apply xoffline.diff
@@ -531,7 +531,7 @@ jobs:
timeout_minutes: 1
max_attempts: 3
shell: pwsh
continue-on-error: true
continue_on_error: true
command: |
Invoke-WebRequest -Uri ${{ env.logolink_url }}/get_png?filename=${{ env.logolink_file }}"&"uuid=${{ env.logolink_uuid }} -OutFile ./rustdesk/data/flutter_assets/assets/logo.png

View File

@@ -339,7 +339,7 @@ jobs:
timeout_minutes: 1
max_attempts: 3
shell: pwsh
continue-on-error: true
continue_on_error: true
command: |
Invoke-WebRequest -Uri https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/cycle_monitor.diff -OutFile cycle_monitor.diff
git apply cycle_monitor.diff
@@ -351,7 +351,7 @@ jobs:
timeout_minutes: 1
max_attempts: 3
shell: pwsh
continue-on-error: true
continue_on_error: true
command: |
Invoke-WebRequest -Uri https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/xoffline.diff -OutFile xoffline.diff
git apply xoffline.diff
@@ -446,7 +446,7 @@ jobs:
timeout_minutes: 1
max_attempts: 3
shell: pwsh
continue-on-error: true
continue_on_error: true
command: |
Invoke-WebRequest -Uri ${{ env.logolink_url }}/get_png?filename=${{ env.logolink_file }}"&"uuid=${{ env.logolink_uuid }} -OutFile ./rustdesk/data/flutter_assets/assets/logo.png

View File

@@ -2,7 +2,8 @@ import os
# Adjust these values as needed
bind = "0.0.0.0:8000" # Host and port for Gunicorn to listen on
workers = 3 # The number of worker processes for concurrency (adjust based on system resources)
workers = 5 # The number of worker processes for concurrency (adjust based on system resources)
threads = 6
activate_base = True # Activate your virtual environment if applicable
# Path to your Django project's main WSGI application file (usually manage.py)