adobe / acc-js-sdk

A JavaScript SDK for Adobe Campaign Classic
Apache License 2.0
21 stars 20 forks source link

Fallback mechanism: reset TTL to 5 min when stop auto refresh of cache #69

Closed obriard closed 1 year ago

obriard commented 1 year ago

Description

When auto refresh is stopped the cache content is refreshed only after end of TTL set in cache constructor. The TTL can be big , 24 hours for web ui client. So by default the TLL is reset to 5 minutes when auto refresh is stopped.

Related Issue

https://jira.corp.adobe.com/browse/NEO-52668 When web ui is pointing on an acc server that does support auto refresh we need to fallback on default refresh mechanism : Having a TTL of 5 minutes.

Motivation and Context

How Has This Been Tested?

Use web ui on an old acc server which does not have GetModifiedEntities method exposed.

Screenshots (if appropriate):

Types of changes

Checklist:

mkiki commented 1 year ago

This PR is obsolete and not valid anymore