You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by li...@apache.org on 2024/01/08 13:29:10 UTC

(servicecomb-service-center) branch dev updated (da28f19e -> 87aa5136)

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

littlecui pushed a change to branch dev
in repository https://gitbox.apache.org/repos/asf/servicecomb-service-center.git


 discard da28f19e extend the time to reset cache (#1440)
     add 93c4d37e check api before authenticate the request (#1441)
     new 87aa5136 extend the time to reset cache (#1440)

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (da28f19e)
            \
             N -- N -- N   refs/heads/dev (87aa5136)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 server/plugin/auth/buildin/buildin.go | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)


(servicecomb-service-center) 01/01: extend the time to reset cache (#1440)

Posted by li...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

littlecui pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/servicecomb-service-center.git

commit 87aa51362fc437ade739bb8ad4711554406cc1be
Author: tornado-ssy <64...@users.noreply.github.com>
AuthorDate: Wed Dec 27 22:20:12 2023 +0800

    extend the time to reset cache (#1440)
    
    Co-authored-by: songshiyuan 00649746 <so...@huawei.com>
---
 server/config/config.go | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/server/config/config.go b/server/config/config.go
index 05178efc..f0af627f 100644
--- a/server/config/config.go
+++ b/server/config/config.go
@@ -25,21 +25,22 @@ import (
 	"runtime"
 	"time"
 
+	"github.com/go-chassis/go-archaius"
+
 	"github.com/apache/servicecomb-service-center/pkg/log"
 	"github.com/apache/servicecomb-service-center/pkg/plugin"
 	"github.com/apache/servicecomb-service-center/pkg/util"
 	"github.com/apache/servicecomb-service-center/version"
-	"github.com/go-chassis/go-archaius"
 )
 
 const (
 	InitVersion = "0"
-	minCacheTTL = 5 * time.Minute
+	minCacheTTL = 60 * time.Minute
 )
 
 var (
 	Server = NewServerConfig()
-	//App is application root config
+	// App is application root config
 	App = &AppConfig{Server: Server}
 )