SessionPolicy
yosoi.surface.SessionPolicy
class SessionPolicy(ImmutableModel):
Bounds for in-memory readers, subscriptions, history and one hot owner.
Source: python/yosoi/surface.py:1236
Members below are declared on this class. Inherited Pydantic methods and generated constructor signatures are not expanded.
Fields and class attributes
Section titled “Fields and class attributes”archive: ArchivePolicy = Field(default='off', description='Explicit evidence retention for Archive saving.')
archive_limits: ArchiveLimits = Field(default_factory=ArchiveLimits, description='Portable outcome bounds independent of live history.')
cursors: int = Field(default=1, strict=True, ge=0, description='Logical cursor cap.')
watches: int = Field(default=8, strict=True, ge=0, description='Total region watch cap.')
captures: int = Field(default=2, strict=True, ge=0, description='Retained capture count.')
events: int = Field(default=128, strict=True, ge=0, description='Event history capacity.')