Function firstFrameTimeoutFor

  • The default TIME-TO-FIRST-FRAME bound for a stream.

    Deliberately not a total-duration bound: a long generation that is streaming normally is healthy, and killing it would be a worse bug than the one being fixed. The hang has a distinct shape — NO frames at all — so that is what is bounded, plus an idle gap between frames once flowing. Together they fire exactly on a wedged stream and never on a slow one.

    Parameters

    • scheme: string
    • method: string

    Returns number