Open KR-Yuan opened 3 years ago
yes,I know that you question was right,Last night I was trying to run the projects,When I tested expirationCheck() function, But I found that it has bugs,When accessedOn is almost greater now time(time := time.Now()),So that expirationCheck() function can't callback these cache which was expired.
when create a cachetable to init expirationCheck() function , maybe better than call it in addInternal function