gunicorn stuff
This commit is contained in:
4
.github/workflows/generator-android.yml
vendored
4
.github/workflows/generator-android.yml
vendored
@@ -397,7 +397,7 @@ jobs:
|
|||||||
timeout_minutes: 1
|
timeout_minutes: 1
|
||||||
max_attempts: 3
|
max_attempts: 3
|
||||||
shell: bash
|
shell: bash
|
||||||
continue-on-error: true
|
continue_on_error: true
|
||||||
command: |
|
command: |
|
||||||
wget https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/cycle_monitor.diff
|
wget https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/cycle_monitor.diff
|
||||||
git apply cycle_monitor.diff
|
git apply cycle_monitor.diff
|
||||||
@@ -409,6 +409,7 @@ jobs:
|
|||||||
timeout_minutes: 1
|
timeout_minutes: 1
|
||||||
max_attempts: 3
|
max_attempts: 3
|
||||||
shell: bash
|
shell: bash
|
||||||
|
continue_on_error: true
|
||||||
command: |
|
command: |
|
||||||
wget https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/xoffline.diff
|
wget https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/xoffline.diff
|
||||||
git apply xoffline.diff
|
git apply xoffline.diff
|
||||||
@@ -420,6 +421,7 @@ jobs:
|
|||||||
timeout_minutes: 1
|
timeout_minutes: 1
|
||||||
max_attempts: 3
|
max_attempts: 3
|
||||||
shell: bash
|
shell: bash
|
||||||
|
continue_on_error: true
|
||||||
command: |
|
command: |
|
||||||
wget https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/hidecm.diff
|
wget https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/hidecm.diff
|
||||||
git apply hidecm.diff
|
git apply hidecm.diff
|
||||||
|
|||||||
2
.github/workflows/generator-windows-x86.yml
vendored
2
.github/workflows/generator-windows-x86.yml
vendored
@@ -223,7 +223,7 @@ jobs:
|
|||||||
timeout_minutes: 1
|
timeout_minutes: 1
|
||||||
max_attempts: 3
|
max_attempts: 3
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
continue-on-error: true
|
continue_on_error: true
|
||||||
command: |
|
command: |
|
||||||
Invoke-WebRequest -Uri https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/allowCustom.diff -OutFile allowCustom.diff
|
Invoke-WebRequest -Uri https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/allowCustom.diff -OutFile allowCustom.diff
|
||||||
git apply allowCustom.diff
|
git apply allowCustom.diff
|
||||||
|
|||||||
6
.github/workflows/generator-windows.yml
vendored
6
.github/workflows/generator-windows.yml
vendored
@@ -414,7 +414,7 @@ jobs:
|
|||||||
timeout_minutes: 1
|
timeout_minutes: 1
|
||||||
max_attempts: 3
|
max_attempts: 3
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
continue-on-error: true
|
continue_on_error: true
|
||||||
command: |
|
command: |
|
||||||
Invoke-WebRequest -Uri https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/cycle_monitor.diff -OutFile cycle_monitor.diff
|
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
|
git apply cycle_monitor.diff
|
||||||
@@ -426,7 +426,7 @@ jobs:
|
|||||||
timeout_minutes: 1
|
timeout_minutes: 1
|
||||||
max_attempts: 3
|
max_attempts: 3
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
continue-on-error: true
|
continue_on_error: true
|
||||||
command: |
|
command: |
|
||||||
Invoke-WebRequest -Uri https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/xoffline.diff -OutFile xoffline.diff
|
Invoke-WebRequest -Uri https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/xoffline.diff -OutFile xoffline.diff
|
||||||
git apply xoffline.diff
|
git apply xoffline.diff
|
||||||
@@ -531,7 +531,7 @@ jobs:
|
|||||||
timeout_minutes: 1
|
timeout_minutes: 1
|
||||||
max_attempts: 3
|
max_attempts: 3
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
continue-on-error: true
|
continue_on_error: true
|
||||||
command: |
|
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
|
Invoke-WebRequest -Uri ${{ env.logolink_url }}/get_png?filename=${{ env.logolink_file }}"&"uuid=${{ env.logolink_uuid }} -OutFile ./rustdesk/data/flutter_assets/assets/logo.png
|
||||||
|
|
||||||
|
|||||||
6
.github/workflows/sh-generator-windows.yml
vendored
6
.github/workflows/sh-generator-windows.yml
vendored
@@ -339,7 +339,7 @@ jobs:
|
|||||||
timeout_minutes: 1
|
timeout_minutes: 1
|
||||||
max_attempts: 3
|
max_attempts: 3
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
continue-on-error: true
|
continue_on_error: true
|
||||||
command: |
|
command: |
|
||||||
Invoke-WebRequest -Uri https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/cycle_monitor.diff -OutFile cycle_monitor.diff
|
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
|
git apply cycle_monitor.diff
|
||||||
@@ -351,7 +351,7 @@ jobs:
|
|||||||
timeout_minutes: 1
|
timeout_minutes: 1
|
||||||
max_attempts: 3
|
max_attempts: 3
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
continue-on-error: true
|
continue_on_error: true
|
||||||
command: |
|
command: |
|
||||||
Invoke-WebRequest -Uri https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/xoffline.diff -OutFile xoffline.diff
|
Invoke-WebRequest -Uri https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/xoffline.diff -OutFile xoffline.diff
|
||||||
git apply xoffline.diff
|
git apply xoffline.diff
|
||||||
@@ -446,7 +446,7 @@ jobs:
|
|||||||
timeout_minutes: 1
|
timeout_minutes: 1
|
||||||
max_attempts: 3
|
max_attempts: 3
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
continue-on-error: true
|
continue_on_error: true
|
||||||
command: |
|
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
|
Invoke-WebRequest -Uri ${{ env.logolink_url }}/get_png?filename=${{ env.logolink_file }}"&"uuid=${{ env.logolink_uuid }} -OutFile ./rustdesk/data/flutter_assets/assets/logo.png
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,8 @@ import os
|
|||||||
|
|
||||||
# Adjust these values as needed
|
# Adjust these values as needed
|
||||||
bind = "0.0.0.0:8000" # Host and port for Gunicorn to listen on
|
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
|
activate_base = True # Activate your virtual environment if applicable
|
||||||
|
|
||||||
# Path to your Django project's main WSGI application file (usually manage.py)
|
# Path to your Django project's main WSGI application file (usually manage.py)
|
||||||
|
|||||||
Reference in New Issue
Block a user