How to enable/disable adaptive caching
N.B. Clearing adaptive cache logs is a destructive change and should be carried out with support from the dev team.
1. Locate the Question Service.
Grafana can be used to locate the service for connected environments.
Go to the
edge-config dashboard (https://grafana.devops.domain.tsorg.com/d/000000006/edge-config?orgId=1), filter on the relevant environment, and find
question-svc in the table of services. The
path shows the file location for the executable.
2. Edit the config file
MooD.QuestionService.exe.config file for editing.
Change the value of the
Activities.AdaptiveCaching.Enabled setting to enable (
true) or disable (
<add key="Activities.AdaptiveCaching.Enabled" value="true" />
<add key="Activities.AdaptiveCaching.Enabled" value="false" />
3. Restart the Windows Service
Restart the Windows Service, e.g.
Edge Question Service or e.g.
Edge Question Service (DEMO_05) relating to the environment, or use the
MooD.DevOps.Console PowerShell cmdlets to restart it remotely.