Skip to content

gotask是不支持协程风格吗? #70

Description

@ShaBaoFa

image
服务启动之后一直报 on null 的错误,我看了一下这部分process的源码。
只有当服务不是协程的时候,才会new SwooleProcess,不然process就肯定是null。
image
但因为 while(ture)
image
就会一直去跑handle(),然后一直拿不到process,然后一直log错误。
如果在server那边取消协程风格就能正常运行了。

所以是hyperf/gotask是不支持协程风格吗?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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