safety bars

This commit is contained in:
Pagwin 2026-06-09 16:59:58 -04:00
parent 0900bbaabd
commit 4f9a980cfb
No known key found for this signature in database
GPG key ID: 81137023740CA260

View file

@ -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)