diff options
| -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 | |||
