Skip to content

Commit

Permalink
chore: regression while starting a standalone warehouse slave (#2743)
Browse files Browse the repository at this point in the history
  • Loading branch information
atzoum authored Nov 29, 2022
1 parent d9b9084 commit 4e8df6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion warehouse/warehouse.go
Original file line number Diff line number Diff line change
Expand Up @@ -1959,7 +1959,7 @@ func Setup(ctx context.Context) error {
func Start(ctx context.Context, app app.App) error {
application = app

if dbHandle == nil {
if dbHandle == nil && !isStandAloneSlave() {
return errors.New("warehouse service cannot start, database connection is not setup")
}
// do not start warehouse service if rudder core is not in normal mode and warehouse is running in same process as rudder core
Expand Down

0 comments on commit 4e8df6f

Please sign in to comment.