diff options
| author | diogo464 <[email protected]> | 2025-06-10 10:30:59 +0100 |
|---|---|---|
| committer | diogo464 <[email protected]> | 2025-06-10 10:30:59 +0100 |
| commit | d73c1424b3e5714a6cb8c1a9b5198920c839f190 (patch) | |
| tree | 39d8110f4f32f4755cd64084e0a643590c52ebfa | |
| parent | f51ed2a84e5dba82d037bae329de8a2f5cb4ebb6 (diff) | |
increased execution timeout to 15m
| -rw-r--r-- | app.py | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -122,7 +122,7 @@ def generate_files(): | |||
| 122 | 122 | ||
| 123 | try: | 123 | try: |
| 124 | result = subprocess.run( | 124 | result = subprocess.run( |
| 125 | cmd, cwd=bonsai_dir, capture_output=True, text=True, timeout=300 | 125 | cmd, cwd=bonsai_dir, capture_output=True, text=True, timeout=15 * 60 |
| 126 | ) | 126 | ) |
| 127 | 127 | ||
| 128 | if result.returncode != 0: | 128 | if result.returncode != 0: |
| @@ -211,3 +211,4 @@ if __name__ == "__main__": | |||
| 211 | else: | 211 | else: |
| 212 | print("Running in PRODUCTION mode - errors will be returned if Bonsai fails") | 212 | print("Running in PRODUCTION mode - errors will be returned if Bonsai fails") |
| 213 | app.run(debug=True, host="0.0.0.0", port=5000) | 213 | app.run(debug=True, host="0.0.0.0", port=5000) |
| 214 | |||
