Skip to content

Commit

Permalink
feat(libs): introduce publisher circuit breaker (#1344)
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-nicolas authored Mar 29, 2024
1 parent a59ad8d commit 421afb9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/storage/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ import (

func Module(connectionOptions bunconnect.ConnectionOptions) fx.Option {
return fx.Options(
fx.Provide(func() *bunconnect.ConnectionOptions {
return &connectionOptions
}),
bunconnect.Module(connectionOptions),
fx.Provide(func(db *bun.DB) *Storage {
return NewStorage(db)
Expand Down

0 comments on commit 421afb9

Please sign in to comment.