Performance governors
The goal of the performance governors is to restrict the impact your extensions can have on the infrastructure. This especially applies to the resource consumption.
Extensions are restricted in:
- Time spent (elapsed time)
- Amount of data written to the file system
- Future versions may have more restrictions
The counter starts each time the extension starts execution. It is reset when the extension stops execution. This implies that for example each hook in a table extension has its own scope regarding the governors.
The exact limits are set by the Infor Cloud team. If you develop extensions in an on-premises environment with the Extensions Ready for Cloud option selected, you can change the values in the $BSE/lib/extensibility/config.<package combination> file:
Resource | Default | Remark |
---|---|---|
governor_elapsed_time
|
5000 |
Elapsed time in milliseconds. |
governor_write_file_quotum
|
5000000 |
5 Mb |
Increasing those resources to higher values than required by the Infor Cloud team results in extensions that are not ready for the cloud and may not run after they are moved to the cloud.