RunQueueSettings

org.llm4s.agent.service.RunQueueSettings
See theRunQueueSettings companion class
@Experimental

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(maxAttempts: Int, ticketLifetime: FiniteDuration, lease: LeasePolicy): RunQueueSettings

Throws IllegalArgumentException for invalid settings; use of for untrusted input.

Throws IllegalArgumentException for invalid settings; use of for untrusted input.

Attributes

def of(maxAttempts: Int, ticketLifetime: FiniteDuration, lease: LeasePolicy): Result[RunQueueSettings]

Concrete fields

Five attempts: a run that crashes its worker four times running is not a transient failure.

Five attempts: a run that crashes its worker four times running is not a transient failure.

Attributes

val DefaultTicketLifetime: FiniteDuration

A day: long enough for a caller to come back for its result, short enough to keep the queue bounded.

A day: long enough for a caller to come back for its result, short enough to keep the queue bounded.

Attributes

The defaults.

The defaults.

Attributes