Try to fix MySQL TTL failure. (#3038)

This commit is contained in:
吴晟 Wu Sheng 2019-07-11 00:29:13 +09:00 committed by 彭勇升 pengys
parent ba24490166
commit 8b2cfa2cd8
1 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,8 @@ public class GeneralStorageTTL implements StorageTTL {
return new DayTTLCalculator();
case Month:
return new MonthTTLCalculator();
case Second:
return new SecondTTLCalculator();
default:
return new MinuteTTLCalculator();
}