Skip to content

secretpad 集成mysql 8.0后调用接口超时 #241

@ougyou

Description

@ougyou

Issue Type

Others

Have you searched for existing documents and issues?

Yes

OS Platform and Distribution

centos 7

All_in_one Version

0.11.x

Kuscia Version

0.7.0

What happend and What you expected to happen.

我们将secretpad从sqllite切换成了mysql8.0,但调用结果表接口的时候超时,超时刚好是5s,为future.get设置的超时时间5s
NodeServiceImpl#listAllNodeResults

Image

Image

在future 进行get的时候超时
Image

我把这段处理改成串行化的,不适用future的异步池化处理的话接口就很快可以响应了

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions