MCPcopy Create free account
hub / github.com/cameri/nostream / dropHotPathIndexes

Function dropHotPathIndexes

scripts/verify-index-impact.ts:150–155  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

148}
149
150async function dropHotPathIndexes(): Promise<void> {
151 console.log('before: dropping hot-path indexes')
152 await client.query('DROP INDEX IF EXISTS events_active_pubkey_kind_created_at_idx')
153 await client.query('DROP INDEX IF EXISTS events_deleted_at_partial_idx')
154 await client.query('DROP INDEX IF EXISTS invoices_pending_created_at_idx')
155}
156
157async function createHotPathIndexes(): Promise<void> {
158 console.log('after: creating hot-path indexes')

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected