[improvement](binlog) Change BinlogConfig default TTL_SECONDS to 86400 (1day) (#30771)
* Change BinlogConfig default TTL_SECONDS to 86400 (1day) Signed-off-by: Jack Drogon <jack.xsuperman@gmail.com> * Fix binlog.ttl_seconds in regression test Signed-off-by: Jack Drogon <jack.xsuperman@gmail.com> --------- Signed-off-by: Jack Drogon <jack.xsuperman@gmail.com>
This commit is contained in:
@ -44,7 +44,7 @@ public class BinlogConfig implements Writable {
|
||||
@SerializedName("maxHistoryNums")
|
||||
private long maxHistoryNums;
|
||||
|
||||
public static final long TTL_SECONDS = 0x7fffffffffffffffL;
|
||||
public static final long TTL_SECONDS = 86400L; // 1 day
|
||||
public static final long MAX_BYTES = 0x7fffffffffffffffL;
|
||||
public static final long MAX_HISTORY_NUMS = 0x7fffffffffffffffL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user