Cache Stops Working When TTL Exceeds 400,000,000 (Possible int32 Overflow Issue)
-
Hello,
My website doesn’t require frequent updates, so I set a very large TTL value. However, I encountered a problem — when the TTL exceeds 400,000,000, the caching function completely stops working and always results in a cache miss.
I suspect this might be due to the int32 integer limit. The current timestamp (1762627866) plus 400000000 exceeds the maximum range an int32 can represent (−2147483648 to +2147483647), which likely causes the issue.
I sincerely hope this can be addressed.Thank you!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.