Add graceful shutdown

This commit is contained in:
2026-03-03 06:00:52 +00:00
parent 119862d7ed
commit 2edb290563
5 changed files with 94 additions and 18 deletions

View File

@@ -220,6 +220,10 @@ func (m *mockConversationStore) Size() int {
return len(m.conversations)
}
func (m *mockConversationStore) Close() error {
return nil
}
func (m *mockConversationStore) setConversation(id string, conv *conversation.Conversation) {
m.mu.Lock()
defer m.mu.Unlock()