Remove noop get override in timed db

This commit is contained in:
lash 2024-10-02 23:59:41 +01:00
parent 9b3ed0d6ae
commit 659fd00c53
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746

View File

@ -92,11 +92,6 @@ func(tib *TimedDb) Put(ctx context.Context, key []byte, val []byte) error {
return nil
}
func(tib *TimedDb) Get(ctx context.Context, key []byte) ([]byte, error) {
v, err := tib.Db.Get(ctx, key)
return v, err
}
func(tib *TimedDb) Stale(ctx context.Context, pfx uint8, sessionId string, key []byte) bool {
tib.tdb.SetSession("")
b := db.ToSessionKey(pfx, []byte(sessionId), key)