Skip to content

Add remote-program timeout support #249

@bitprophet

Description

@bitprophet

EDIT: as per this comment below this issue is now solely about detecting and responding to remote program halt/freeze, no network specific issues.


Description

(Note: this ticket is a copy of the original content from #8, which has been repurposed.)

I.e. either have our own timeout, i.e. no data from remote end in N seconds == abort, or make sure that existing network-level timeouts work correctly (e.g. when connecting -- I seem to recall someone mentioning that Fabric was just sitting around waiting forever for a remote system that had valid DNS but was unreachable.)

Self-generated timeouts should probably be off by default so as not to screw up unsuspecting users running remote tasks that are legitimately silent for long periods of time, and should of course be configurable in length either way.

The current timeout behavior is controlled in source:fabric/network.py on line ~219, except socket.timeout:.


Originally submitted by Jeff Forcier (bitprophet) on 2010-10-29 at 12:14pm EDT

Relations

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions