···5151 logger: logger.With("component", "resyncer"),
5252 db: db,
5353 repos: repos,
5454- repoFetchTimeout: 30 * time.Second,
5454+ repoFetchTimeout: 120 * time.Second,
5555 collectionFilters: []string{collectionCalendarEvent, collectionCalendarRsvp},
5656 parallelism: 2,
5757 pdsBackoff: make(map[string]time.Time),
···247247248248 aturi := syntax.ATURI(fmt.Sprintf("at://%s/%s/%s", did, collStr, rkeyStr))
249249250250- // Write the record directly into the project's tables. Errors on a single
251251- // record are logged and skipped so one bad record can't block the whole
252252- // repo from reaching the active state.
250250+ // Writes the records to the database.
251251+ // I do think there's an edge case where if a rsvp happens before the event it is not written to the database.
252252+ // But just going let that be for now
253253 switch collStr {
254254 case collectionCalendarEvent:
255255 var rec community.CalendarEvent