The RecentRequest.buffer.size parameter in the configuration file determines the number of recent decisions to choose from. To configure the Policy Administration GUI to use a different value for this parameter, re-run the setup tool using an options file to generate a new configuration, as shown in the following steps.

  1. Make a copy of the default options file.
    $ cp config/options.yml my-options.yml
  2. Edit the new options file and define RecentRequest.buffer.size in the core section.

    By default, the number of recent decisions is 20.

    Warning: Setting a buffer size greater than 20 can cause serious performance degradation.

    To disable the feature, set the value to 0.

      RecentRequest.buffer.size: 10
    # Other options omitted for brevity...
  3. Stop the Policy Administration GUI.
    $ bin/stop-server
  4. Run setup using the --optionsFile argument, and then customize all other options as appropriate for your needs.
    $ bin/setup demo \
     --adminUsername admin \
     --generateSelfSignedCertificate \
     --decisionPointSharedSecret <shared-secret> \
     --hostname <pap-hostname> \
     --port <pap-port> \
     --adminPort <admin-port> \
     --licenseKeyFile <path-to-license> \
     --optionsFile my-options.yml
  5. Start the Policy Administration GUI.
    $ bin/start-server