batch size wants to be smaller for less lockign time, not higher
This commit is contained in:
parent
b18ae59207
commit
5eabaebf45
|
@ -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{
|
||||
|
|
Loading…
Reference in New Issue