Skip to content

Commit

Permalink
added todo comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ssd04 committed Dec 5, 2023
1 parent 53909e7 commit 0943b1e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions storageUnit/storageunit.go
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,8 @@ type ArgDB struct {
}

// NewDB creates a new database from database config
// TODO: refactor to integrate retries loop into persister factory; maybe implement persister
// factory separatelly in storage repo
func NewDB(persisterFactory PersisterFactoryHandler, path string) (types.Persister, error) {
var db types.Persister
var err error
Expand Down

0 comments on commit 0943b1e

Please sign in to comment.