Configurable limits for requisition list uploads
If your B2B store offers the requisition list upload feature to customers, you might want more control over the performance impacts of this feature. For the Aurora starter store, you can configure certain limits to suit your business needs.
Limit | Default value | Where to configure |
---|---|---|
Maximum file size for the CSV file (maxuploadsize property) |
524 KB If the file is larger, the upload does not start and an error message tells the customer to reduce the file size. |
HCL Commerce configuration file (wc-server.xml). In the file, change the maxuploadsize value for the CreateRequisitionListUpload command, as shown in the following code snippet:
For general instructions on finding and updating the wc-server.xml file, see HCL Commerce configuration file (wc-server.xml). |
Maximum number of lines in the CSV file (limitCSVLine property) |
3000 lines If the file contains more lines, the upload fails and an error message is displayed to the customer to reduce the number of lines. |
Order component configuration
file: workspace_dir/WC/xml/config/com.ibm.commerce.order-fep/wc-admin-component.xml In the file, change the relevant configuration property for the RequisitionListUpload configuration grouping, as shown in the following code snippet:
For general instructions on updating the wc-admin-component.xml file for the order component, see Changing properties in the order component configuration file (wc-admin-component.xml). |
Maximum number of upload tasks in progress at
the same time (maxTask property) |
5 uploads When a customer tries to upload a sixth requisition list, the upload does not start. An error message tells the customer to wait before you upload another list. |
|
Minimum time interval between each consecutive
upload (uploadInterval property) |
5 seconds If a customer uploads a requisition list and then tries to upload another list without waiting five seconds, the upload does not start. An error message tells the customer to wait before you upload another list. |
Controlling threads that handle requisition list upload jobs
You can modify the default settings for the upload work manager to control the number of threads that handle requisition list upload jobs. The upload jobs run according to your custom configuration. Requisition uploads use the work manager that is namedupload
, which has the
following default settings:Thread pool property | Default setting |
---|---|
Number of alarm threads | 2 |
Minimum number of threads | 0 |
Maximum number of threads | 11 |
Thread priority | 5 |