Update app.py
Browse files
app.py
CHANGED
|
@@ -72,7 +72,7 @@ class TranslationOrchestrator:
|
|
| 72 |
|
| 73 |
name = os.getenv(name_key, f"Worker {worker_index}")
|
| 74 |
priority = int(os.getenv(f"WORKER_{worker_index}_PRIORITY", "1"))
|
| 75 |
-
max_concurrent = int(os.getenv(f"WORKER_{worker_index}_MAX_CONCURRENT", "
|
| 76 |
|
| 77 |
worker_id = f"worker_{worker_index}"
|
| 78 |
config = WorkerConfig(
|
|
|
|
| 72 |
|
| 73 |
name = os.getenv(name_key, f"Worker {worker_index}")
|
| 74 |
priority = int(os.getenv(f"WORKER_{worker_index}_PRIORITY", "1"))
|
| 75 |
+
max_concurrent = int(os.getenv(f"WORKER_{worker_index}_MAX_CONCURRENT", "1"))
|
| 76 |
|
| 77 |
worker_id = f"worker_{worker_index}"
|
| 78 |
config = WorkerConfig(
|