This is an automated email from the ASF dual-hosted git repository.

pengys pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking.git


The following commit(s) were added to refs/heads/master by this push:
     new 8b2cfa2  Try to fix MySQL TTL failure. (#3038)
8b2cfa2 is described below

commit 8b2cfa2cd8fa698feb1e60b74ed6ebd5b08ae77e
Author: 吴晟 Wu Sheng <[email protected]>
AuthorDate: Thu Jul 11 00:29:13 2019 +0900

    Try to fix MySQL TTL failure. (#3038)
---
 .../skywalking/oap/server/core/storage/ttl/GeneralStorageTTL.java       | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/storage/ttl/GeneralStorageTTL.java
 
b/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/storage/ttl/GeneralStorageTTL.java
index 8f50e59..aefaa53 100644
--- 
a/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/storage/ttl/GeneralStorageTTL.java
+++ 
b/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/storage/ttl/GeneralStorageTTL.java
@@ -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();
         }

Reply via email to