Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
islamaliev committed Jun 20, 2024
1 parent 6e92287 commit 597352d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
7 changes: 0 additions & 7 deletions internal/db/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,3 @@ func WithMaxRetries(num int) Option {
db.maxTxnRetries = immutable.Some(num)
}
}

// WithDocEncryption enables document encryption.
func WithEnableDocEncryption(enable bool) Option {
return func(db *db) {
db.isEncrypted = enable
}
}
2 changes: 0 additions & 2 deletions internal/db/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ type db struct {

// The maximum number of retries per transaction.
maxTxnRetries immutable.Option[int]

isEncrypted bool

// The options used to init the database
options []Option
Expand Down

0 comments on commit 597352d

Please sign in to comment.