Asynchronous capacity updates

Capacity updates are likely to be observed by APIs such as reserveAvailableInventory, ScheduleOrder and order updates.

When a capacity update is necessary, a lock is acquired for the resource pool consumption during calculation and is only released upon a transaction commit. This can lead to lock contention and high lock waits.

To optimize capacity updates and reduce or remove lock contention on the YFS_RES_POOL_CAPCTY_CONSMPTN table, configure the value of yfs.persitCapacityAdjustments and yfs.capacity.useMassAdjustCapacityDriver properties to true. The default value is set to false.

Note: The yfs.capacity.useMassAdjustCapacityDriver property works in conjunction with the yfs.persitCapacityAdjustments property. Therefore, after you reset the value for these properties, restart the application and agent servers.