Configure the Veeva Cache Timeout Setting

The following procedure describes the configuration required to set the appropriate Veeva cache timeout.

When you use the Veeva Vault, the number of requests sent to Veeva by LIQUENT InSight is limited by the number that is defined by the Veeva System. LIQUENT InSight 6.2 CHF 1 leverages the Veeva Bulk API calls with an internal cache. This will decrease the chance of encountering 5-minute API burst restrictions imposed by Veeva Vault. The optimal cache lifetime depends on one of the following factors:
  • Optimizing the number of Veeva requests (the higher the Veeva objects cache timeout value, the fewer InSight API calls to Veeva)
  • Keeping the data up-to date

Keep in mind that setting the Veeva cache timeout to a higher value will reduce the number of Veeva requests. However, this can also lead to a risk of getting data that is not relevant.

To set the Veeva cache timeout value:

  1. Open the insight.var file in a text editor.
  2. Update the following parameters:
    • cache.timeout.dms.document=<veeva document cache timeout>. Replace <veeva document cache timeout> with an integer value in seconds.
    • cache.timeout.dms.user=<veeva user cache timeout>. Replace <veeva user cache timeout> with an integer value in seconds.
    By default, the parameters are set as following:
    cache.timeout.dms.document= 180
    cache.timeout.dms.user= 1000
  3. Save the insight.var file.