INNER CODE UNIT · Python
cutoff
Soju06/codex-lb · app/main.py:424
cutoff=utcnow() - timedelta(seconds=retention_seconds),
)
except Exception as exc:
result = OperationRetentionCleanupResult(
deleted_operations=0,
batches=0,
backlog_likely=True,
outcome="failed",
duration_seconds=max(time.monotonic() - started_at, 0.0),
)
_record_operation_retention_cleanup(result)
logger.warning(
"HTTP bridge operation transcript startup retention failed "
"deleted_operations=0 batches=0 outcome=failed backlog_likely=true "
"duration_seconds=%.3f error_type=%s",
result.duration_seconds,
type(exc).__name__,
)