Skip to content

Reliable way to tell whether server is running #1001

@king-of-poppk

Description

@king-of-poppk

Currently, the startup message "Running plumber API at ..." is printed before this line is reached:

httpuv::runServer(host, port, self)

which makes it difficult to time when the server is actually started (think tests).

One way to fix this is to print that message (and possibly also "Running swagger Docs at ..."), or something else, between httpuv::startServer and httpuv::service here, by using those directly instead of relying on the httpuv::runServer abstraction.

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