Skip to content

Commit

Permalink
fix: inner error bug in the delete expired key method. (#322)
Browse files Browse the repository at this point in the history
  • Loading branch information
auula authored Jan 7, 2025
1 parent d4fdcd4 commit def7593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db.go
Original file line number Diff line number Diff line change
Expand Up @@ -714,6 +714,6 @@ func (db *DB) DeleteExpiredKeys(timeout time.Duration) error {
case <-ctx.Done():
return innerErr
case <-done:
return nil
return innerErr
}
}

0 comments on commit def7593

Please sign in to comment.