batch size wants to be smaller for less lockign time, not higher

This commit is contained in:
Andre Medeiros 2022-11-05 21:13:05 -04:00
parent b18ae59207
commit 5eabaebf45
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ import (
"github.com/christianselig/apollo-backend/internal/repository"
)
const batchSize = 2000
const batchSize = 250
func SchedulerCmd(ctx context.Context) *cobra.Command {
cmd := &cobra.Command{