Commit f13ed8a7 authored by Georgios D. Tsoukalas's avatar Georgios D. Tsoukalas
Browse files

add capacity to service resource reserves

This is not normally needed, since all resources circulating through
the system must be allocated from the initial reserve quantities.
However, if somehow this consistency is broken, and more quantities
are released to the reserves than have been allocated from them,
the reserves will not be able to accommodate the extra quantities.

Adding (practically infinite) capacity to reserves allows this
inconsistency to be.
parent fb5fcfc5
......@@ -267,7 +267,7 @@ def register_resources(resources):
resource=resource,
key=ENTITY_KEY,
quantity=QH_PRACTICALLY_INFINITE,
capacity=0,
capacity=QH_PRACTICALLY_INFINITE,
import_limit=QH_PRACTICALLY_INFINITE,
export_limit=QH_PRACTICALLY_INFINITE,
flags=0) for resource in resources)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment