safety bars
This commit is contained in:
parent
0900bbaabd
commit
4f9a980cfb
1 changed files with 4 additions and 3 deletions
|
|
@ -156,8 +156,9 @@ def solve_handler():
|
||||||
arrivals=arrivals,
|
arrivals=arrivals,
|
||||||
max_res=solve.MAX_RES,
|
max_res=solve.MAX_RES,
|
||||||
max_vat=solve.MAX_VAT,
|
max_vat=solve.MAX_VAT,
|
||||||
time_limit=time_limit,
|
# min to avoid bricking stuff
|
||||||
num_workers=8,
|
time_limit=min(time_limit, 60.0),
|
||||||
|
num_workers=1,
|
||||||
verbose=verbose,
|
verbose=verbose,
|
||||||
fixed_choices=fixed_choices,
|
fixed_choices=fixed_choices,
|
||||||
resource_constraints=resource_constraints,
|
resource_constraints=resource_constraints,
|
||||||
|
|
@ -173,4 +174,4 @@ def solve_handler():
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
app.run(debug=False, host='0.0.0.0', port=5000)
|
app.run(debug=False, host="0.0.0.0", port=5000)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue