Disable fieldseeker data sync
Some checks failed
/ golint (push) Failing after 9s

This is creating a large number of goroutines that are requesting a
large number of database connections, possibly contributing to the pool
getting exhausted

Issue: #3
This commit is contained in:
Eli Ribble 2026-05-19 20:33:02 +00:00
parent 4ead6ba31b
commit 865f11bc09
No known key found for this signature in database

View file

@ -55,12 +55,14 @@ func StartAll(ctx context.Context) error {
newOAuthTokenChannel = make(chan struct{}, 10)
waitGroup.Add(1)
go func() {
defer waitGroup.Done()
refreshFieldseekerData(ctx, newOAuthTokenChannel)
log.Debug().Msg("Exiting Fieldseeker refresh goroutine")
}()
/*
waitGroup.Add(1)
go func() {
defer waitGroup.Done()
refreshFieldseekerData(ctx, newOAuthTokenChannel)
log.Debug().Msg("Exiting Fieldseeker refresh goroutine")
}()
*/
waitGroup.Add(1)
go func() {
defer waitGroup.Done()