Skip to content

Allow RestartingServer behavior to be configured #15

@jbromberg

Description

@jbromberg

Would be nice to support behavior for how the RestartingServer restarts.

Currently, there's a 5 second cooldown hardcoded in:

try? await Task.sleep(nanoseconds: 5 * NSEC_PER_SEC)

Possible idea:

enum RestartBehavior {
    case nextRequest
    case afterCooldown(seconds: Int)
}

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