MCPcopy
hub / github.com/FlowiseAI/Flowise / resetInstance

Method resetInstance

packages/components/src/handler.ts:726–728  ·  view source on GitHub ↗
(chatId: string)

Source from the content-addressed store, hash-verified

724 }
725
726 static resetInstance(chatId: string): void {
727 AnalyticHandler.instances.delete(chatId)
728 }
729
730 // Keep this as backup for orphaned instances
731 static cleanup(maxAge: number = 3600000): void {

Callers 5

getInstanceMethod · 0.80
cleanupMethod · 0.80
onChainEndMethod · 0.80
onChainErrorMethod · 0.80
handler.test.tsFile · 0.80

Calls 1

deleteMethod · 0.45

Tested by

no test coverage detected