fix cache to disregard subscription ids
Some checks failed
Go / build-and-release (push) Has been cancelled

This commit is contained in:
2025-11-20 12:30:17 +00:00
parent 1b279087a9
commit 00a6a78a41
7 changed files with 229 additions and 23 deletions

View File

@@ -16,6 +16,7 @@ import (
"lol.mleku.dev"
"lol.mleku.dev/chk"
"next.orly.dev/pkg/database"
"next.orly.dev/pkg/encoders/event"
"next.orly.dev/pkg/encoders/filter"
"next.orly.dev/pkg/utils/apputil"
)
@@ -283,4 +284,6 @@ func (d *D) warmup() {
}
func (d *D) GetCachedJSON(f *filter.F) ([][]byte, bool) { return nil, false }
func (d *D) CacheMarshaledJSON(f *filter.F, marshaledJSON [][]byte) {}
func (d *D) GetCachedEvents(f *filter.F) (event.S, bool) { return nil, false }
func (d *D) CacheEvents(f *filter.F, events event.S) {}
func (d *D) InvalidateQueryCache() {}