fix: fetching full event list

This commit is contained in:
Samuel Tariku 2025-09-03 03:35:34 +03:00
parent c09bf5ca3d
commit 6f4229d556
2 changed files with 3 additions and 4 deletions

View File

@ -218,9 +218,9 @@ func (s *service) fetchUpcomingEventsFromProvider(ctx context.Context, source_ur
return
}
const pageLimit int = 1
// sportIDs := []int{1, 18, 17, 3, 83, 15, 12, 19, 8, 16, 91}
sportIDs := []int{1}
const pageLimit int = 200
sportIDs := []int{1, 18, 17, 3, 83, 15, 12, 19, 8, 16, 91}
// sportIDs := []int{1}
var skippedLeague []string
var totalEvents = 0

View File

@ -74,7 +74,6 @@ postgres_log:
.PHONY: swagger
swagger:
@swag init -g cmd/main.go
.PHONY: db-up
logs:
@mkdir -p logs