func (t *Tasks) startSentryProjectsUpdaterTask() *time.Ticker {
	t.sentryProjects.UpdateProjects()
	ticker := time.NewTicker(10 * time.Second)
	go func() {
		for {
			select {
			case <-ticker.C:
				t.sentryProjects.UpdateProjects()
			}
		}
	}()
	return ticker
}
//TODO: Should use a pg listener rather than polling
Should use a pg listener rather than polling
// TODO : Should use a pg listener rather than polling
func (t *Tasks) startSentryProjectsUpdaterTask() *time.Ticker {
	t.sentryProjects.UpdateProjects()
	ticker := time.NewTicker(10 * time.Second)
	go func() {
		for {
			select {
			case <-ticker.C:
				t.sentryProjects.UpdateProjects()
			}
		}
	}()
	return ticker
}
func ( t * Tasks ) startSentryProjectsUpdaterTask ( ) * time . Ticker { t . sentryProjects . UpdateProjects ( ) ticker := time . NewTicker ( 10 * time . Second ) go func ( ) { for { select { case <- ticker . C : t . sentryProjects . UpdateProjects ( ) } } } ( ) return ticker }
Should use a pg listener rather than polling
Should use a pg listener rather than polling