nidus-sync/platform/email/job.go
Eli Ribble ade629ecf5
Rework background jobs to make transactions much shorter
I ended up with minutes-long open transactions in the database in prod
which was causing outtages. This is because I thought transactions were
basically free, which is a terrible thing to think. Instead we'll just
open them when we need them.
2026-04-17 22:53:23 +00:00

10 lines
166 B
Go

package email
import (
"context"
//"github.com/rs/zerolog/log"
)
func Job(ctx context.Context, email_id int32) error {
return sendEmailComplete(ctx, email_id)
}