Skip to content

nc doesn't always close #6

@ssmccoy

Description

@ssmccoy

There is a condition where awkbot is not connected to IRC where netcat still hangs around. This can probably be trumped by awkbot sending a PING to the server in a regular interval. But, this would require some kind of scheduling component to be added to the infrastructure.

A scheduler could simply make a fifo, spawn a selector on the fifo, and queue up shell scripts with system() in the background that just sleep N && echo component message_back >> fifo. This would spawn a process per interval, but that'd probably be sufficient.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions