fix(halalcloud): fix the timeout issue when logging in (#6960)
This commit is contained in:
@ -147,7 +147,7 @@ func (d *HalalCloud) IsLogin() bool {
|
||||
if err != nil {
|
||||
return false
|
||||
}
|
||||
ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)
|
||||
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
|
||||
defer cancel()
|
||||
result, err := pbPublicUser.NewPubUserClient(serv.GetGrpcConnection()).Get(ctx, &pbPublicUser.User{
|
||||
Identity: "",
|
||||
|
Reference in New Issue
Block a user