Skip to main content

record

Method
This is a method of the PersistentRestartLoopGuard class in the protocols module.
Record a restart at wall-clock now and flush to the store. Unlike the base class this expects a wall-clock timestamp (time.time()), because a monotonic clock resets across process boots and would make persisted events meaningless.

Signature

Parameters

float
required
No description available.

Returns

bool
The result of the operation.

Uses

  • record

Used By

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 5029