Improve performance of the GET validReasons request

Description

During exploratory tests of the Stock Management service, I noticed that the performance of the GET validReasons request could be improved. The request is made when going to the "Unpack" screen for the chosen program. I used the administrator user with default settings (i.e. with regular network and no throttling), and the result on Chrome was the following:

Stark Unpack for Family Planning:
validReasons 2.30s.

As far as I know, this request is made not only when starting the kit unpacking, so making this request faster would improve performance of not only this action.

Assignee

Unassigned

Reporter

Joanna Bebak

Labels

Components

Priority

Major
Configure