You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you please explain how often currently cleanup happens and how these two variables differ?
And can we change these settings, to do it more often?
Thank you.
The text was updated successfully, but these errors were encountered:
LocalStorage cleanups happen few miliseconds after every trigger method execution.
Here's how it works: script iterates over every messages that has been saved to localStorage and checks whether its timestamp is less than current time - threshold. If so, the message is removed from localStorage.
The difference between THRESHOLD_TTL_EMIT and THRESHOLD_TTL_ONCE is that the first one is used with emitting normal messages (stating interval after which message is removed) and the second is used with once to set ttl property if it's not passed as third argument.
First of all thank you for such an awesome tool, it was very useful in our case!
I was wondering about cleaning up LocalStorage.
I noticed these variables in intercom.js
Could you please explain how often currently cleanup happens and how these two variables differ?
And can we change these settings, to do it more often?
Thank you.
The text was updated successfully, but these errors were encountered: