From e17ac360ffb3747a1453ed54306a353fdba61ac0 Mon Sep 17 00:00:00 2001 From: Aleksei Gurianov Date: Tue, 10 Jul 2018 01:33:57 +0400 Subject: [PATCH] permanent duration comment fix (#150) --- backend/app/store/engine/bolt_admin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/store/engine/bolt_admin.go b/backend/app/store/engine/bolt_admin.go index 31059060..0dcd04c5 100644 --- a/backend/app/store/engine/bolt_admin.go +++ b/backend/app/store/engine/bolt_admin.go @@ -168,7 +168,7 @@ func (b *BoltDB) SetBlock(siteID string, userID string, status bool, ttl time.Du bucket := tx.Bucket([]byte(blocksBucketName)) switch status { case true: - val := time.Now().AddDate(100, 0, 0).Format(tsNano) // permanent is 50year + val := time.Now().AddDate(100, 0, 0).Format(tsNano) // permanent is 100 year if ttl > 0 { val = time.Now().Add(ttl).Format(tsNano) }