You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by ti...@apache.org on 2021/08/17 14:07:26 UTC

[servicecomb-kie] branch master updated: Fix: request datasource timeout is too small (#202)

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

tianxiaoliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-kie.git


The following commit(s) were added to refs/heads/master by this push:
     new d690461  Fix: request datasource timeout is too small (#202)
d690461 is described below

commit d6904615c75ce6acca915cbc5282a879ac87740b
Author: little-cui <su...@qq.com>
AuthorDate: Tue Aug 17 22:07:21 2021 +0800

    Fix: request datasource timeout is too small (#202)
---
 server/datasource/dao.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/datasource/dao.go b/server/datasource/dao.go
index b181100..3ec3e74 100644
--- a/server/datasource/dao.go
+++ b/server/datasource/dao.go
@@ -113,7 +113,7 @@ type ViewDao interface {
 	GetContent(ctx context.Context, id, domain, project string, options ...FindOption) ([]*model.KVResponse, error)
 }
 
-const DefaultTimeout = 5 * time.Second
+const DefaultTimeout = 60 * time.Second
 
 func Init(c config.DB) error {
 	var err error