fix(server): include created_at in session.created SSE event
The session.created event only had session_id and status, causing downstream adapters to produce empty time objects and new sessions landing in the 'older' group.
This commit is contained in:
parent
922bcf7660
commit
58b4b5e354
|
|
@ -196,6 +196,7 @@ export class SessionManager {
|
||||||
})
|
})
|
||||||
this.eventBus.publishSessionEvent(sessionId, 'created', {
|
this.eventBus.publishSessionEvent(sessionId, 'created', {
|
||||||
status: 'starting',
|
status: 'starting',
|
||||||
|
created_at: Date.now(),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
this.scheduleIndexSave()
|
this.scheduleIndexSave()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user