Issue

One of my custom alerts sets a custom value, and the logic depends on the cache being cleared under certain conditions. Based on how the alert is behaving, it seems that my keys were not reset within the threshold specified by the set_key_expiration function.

Resolution

To resolve this issue​​​​​, make sure your set_key_expiration sets the expiration time in a timestamp format, as shown in Panther's caching documentation.

Cause

This issue often occurs because of a typo related to the set_key_expiration function. If your code looks good and your issue persists, please contact our support team.