Skip to content

Commit

Permalink
Merge pull request #74 from 0x2142/fix-startup-check-bug
Browse files Browse the repository at this point in the history
Update config.go
  • Loading branch information
0x2142 authored Jun 3, 2024
2 parents e40b3ff + 3cff9ee commit 7a56fca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,8 @@ func validateConfig() {
Msgf("Cannot reach Frigate server at %v", ConfigData.Frigate.Server)
time.Sleep(time.Duration(ConfigData.Frigate.StartupCheck.Interval) * time.Second)
current_attempt += 1
} else {
break
}
}
if current_attempt == ConfigData.Frigate.StartupCheck.Attempts {
Expand Down

0 comments on commit 7a56fca

Please sign in to comment.