From 50115ba4f86df49e6c369cc2dea0c3710d302e26 Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Mon, 21 Nov 2022 15:52:18 +0300 Subject: [PATCH] [#296] container: Increase default expiration time Signed-off-by: Alex Vanin --- container/container_contract.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/container/container_contract.go b/container/container_contract.go index c372123..489ca37 100644 --- a/container/container_contract.go +++ b/container/container_contract.go @@ -74,10 +74,10 @@ const ( NotFoundError = "container does not exist" // default SOA record field values - defaultRefresh = 3600 // 1 hour - defaultRetry = 600 // 10 min - defaultExpire = 604800 // 1 week - defaultTTL = 3600 // 1 hour + defaultRefresh = 3600 // 1 hour + defaultRetry = 600 // 10 min + defaultExpire = 3600 * 24 * 365 * 10 // 10 years + defaultTTL = 3600 // 1 hour ) var (