-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use valid_delegator? and not reachable? before initiating a remo…
…te operation `reachable?` does `valid_delegator?` and then calls `ping` to check if the task is actually alive. But (1) it requires a round-trip before actually accessing the remote, and (2) is an illusion since the task could disappear between reachable? and the actual remote operation.
- Loading branch information
Showing
1 changed file
with
12 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters