Skip to content

使用定时线程池,出现只执行一次的问题,无法周期执行请求 #238

@HzaZoro

Description

@HzaZoro

我使用Executors.newScheduleThreadPool,在Runable实现类中,用forest进行了远程的调用,并且使用了try cache,捕捉了所有异常。在远程连接失败后,发现这个周期执行线程,也只执行了一次。怀疑是线程占用

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