You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by pe...@apache.org on 2019/07/10 15:29:21 UTC

[skywalking] branch master updated: Try to fix MySQL TTL failure. (#3038)

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 <wu...@foxmail.com>
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();
         }