fix: update go.sour.is/pkg
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
xuu
2023-09-29 10:21:29 -06:00
parent ee45a0fd49
commit bdda63edac
5 changed files with 70 additions and 465 deletions

View File

@@ -30,13 +30,13 @@ const CachSize = 1000
const AppendOnly = ev.AppendOnly
const AllEvents = ev.AllEvents
type lockedWal = locker.Locked[wal.Log]
type lockedWal = locker.Locked[*wal.Log]
type openlogs struct {
logs *cache.Cache[string, *lockedWal]
}
type diskStore struct {
path string
openlogs *locker.Locked[openlogs]
openlogs *locker.Locked[*openlogs]
m_disk_open metric.Int64Counter
m_disk_evict metric.Int64Counter
@@ -173,7 +173,7 @@ func (d *diskStore) EventLog(ctx context.Context, streamID string) (driver.Event
type eventLog struct {
streamID string
events *locker.Locked[wal.Log]
events *locker.Locked[*wal.Log]
diskStore *diskStore
}