mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-05 02:30:21 +00:00
feat(gateway): add compaction checkpoints (#62146)
Merged via squash.
Prepared head SHA: e37542554a
Co-authored-by: scoootscooob <167050519+scoootscooob@users.noreply.github.com>
Co-authored-by: scoootscooob <167050519+scoootscooob@users.noreply.github.com>
Reviewed-by: @scoootscooob
This commit is contained in:
@@ -1059,6 +1059,8 @@ export async function startGatewayServer(
|
||||
startedAt: sessionRow.startedAt,
|
||||
endedAt: sessionRow.endedAt,
|
||||
runtimeMs: sessionRow.runtimeMs,
|
||||
compactionCheckpointCount: sessionRow.compactionCheckpointCount,
|
||||
latestCompactionCheckpoint: sessionRow.latestCompactionCheckpoint,
|
||||
}
|
||||
: {};
|
||||
const message = attachOpenClawTranscriptMeta(update.message, {
|
||||
@@ -1160,6 +1162,8 @@ export async function startGatewayServer(
|
||||
startedAt: sessionRow.startedAt,
|
||||
endedAt: sessionRow.endedAt,
|
||||
runtimeMs: sessionRow.runtimeMs,
|
||||
compactionCheckpointCount: sessionRow.compactionCheckpointCount,
|
||||
latestCompactionCheckpoint: sessionRow.latestCompactionCheckpoint,
|
||||
}
|
||||
: {}),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user