Exception: SafeImage::WorkerBroken

Inherits:
CommandError show all
Defined in:
lib/safe_image/zygote.rb

Overview

Raised when a worker’s request/reply channel breaks (closed or broken pipe, truncated reply, protocol garbage, or a reply-deadline overrun) as opposed to the operation itself failing. It is a CommandError so callers catching the documented error still handle it, but the pool treats it specially: the worker is discarded, never returned to the idle set. Process liveness is the wrong reuse signal — a worker can be alive with a dead pipe (e.g. a concurrent reconfigure closed it) — so channel health drives the decision.

Instance Attribute Summary

Attributes inherited from CommandError

#command, #status, #stderr, #stdout

Method Summary

Methods inherited from CommandError

#initialize

Constructor Details

This class inherits a constructor from SafeImage::CommandError