Syncing Request Offering Changes
Is there a better way to sync new and updated request offerings to the portal database other than just restarting the cache builder?
We have enough users that it takes nearly 30 minutes for the cache builder to run so restarts are rather cumbersome.
Thanks,
James
Best Answer
-
Adam_Dzyacky Product Owner Contributor Monkey ✭✭✭✭✭
Yup.
..\CiresonPortal\bin\Cireson.CacheBuilder.WindowsService.exe.config
Scroll down to find this section -
<cacheCommandSection> <cacheCommands> <cacheCommand name="UserAndGroups" threadName="USER" refreshInterval="120" batchSize="500" /> <cacheCommand name="ConfigItems" threadName="CONF" refreshInterval="1440" batchSize="1000" /> <cacheCommand name="EnumLookup" threadName="ENUM" refreshInterval="1440" batchSize="5000" /> <cacheCommand name="ServiceCatalog" threadName="CATA" refreshInterval="1440" batchSize="500" /> <cacheCommand name="WorkItems" threadName="WORK" refreshInterval="1" batchSize="500" /> <cacheCommand name="ScopedAccess" threadName="SCOP" refreshInterval="1440" batchSize="500" /> </cacheCommands> </cacheCommandSection>
Then just adjust the ServiceCatalog refreshInterval value to the number of minutes you want that to be rebuilt. Then restart the cachbuilder for the new settings to take affect. Keep in mind you'll have to adjust these portal after every portal upgrade.
5
Answers
Yup.
..\CiresonPortal\bin\Cireson.CacheBuilder.WindowsService.exe.config
Scroll down to find this section -
Then just adjust the ServiceCatalog refreshInterval value to the number of minutes you want that to be rebuilt. Then restart the cachbuilder for the new settings to take affect. Keep in mind you'll have to adjust these portal after every portal upgrade.
Thank you @Adam_Dzyacky!
Glad to help. Make on.