Skip to content

Commit

Permalink
fixed some minor issue (#213)
Browse files Browse the repository at this point in the history
- Fixed an issue where the clone copy would not always be used
- Fixed an issue where the telemetry could generate a nil pointer issue
- Fixed an issue where the pull file would still need the provider even if not needed
- Fixed an issue where the db was being saved more often that needed
  • Loading branch information
cjlapao authored Oct 17, 2024
1 parent 7216904 commit a5efd0e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ var ver = "0.9.7"
// @in header
// @name X-Api-Key

// @securityDefinitions.apikey BearerAuth
// @description Type "Bearer" followed by a space and JWT token.
// @in header
// @name Authorization
// @securityDefinitions.apikey BearerAuth
// @description Type "Bearer" followed by a space and JWT token.
// @in header
// @name Authorization
func main() {
// catching all of the exceptions
defer func() {
Expand Down Expand Up @@ -95,7 +95,7 @@ func main() {
if !db.IsConnected() || retries > maxRetries {
break
}
ctx.LogInfof("[Core] Waiting for database to disconnect")
ctx.LogInfof("[Core] Waiting for database to disconnect...")
time.Sleep(5 * time.Second)
}
}
Expand Down

0 comments on commit a5efd0e

Please sign in to comment.