mirror of https://github.com/go-co-op/gocron.git
Change jobOutRequest channel buffer size from 1000 to 100
Co-authored-by: JohnRoesler <19351306+JohnRoesler@users.noreply.github.com>
This commit is contained in:
parent
1393d798da
commit
fb7d7ebe77
|
|
@ -140,7 +140,7 @@ func NewScheduler(options ...SchedulerOption) (Scheduler, error) {
|
||||||
jobsOutForRescheduling: make(chan uuid.UUID),
|
jobsOutForRescheduling: make(chan uuid.UUID),
|
||||||
jobUpdateNextRuns: make(chan uuid.UUID),
|
jobUpdateNextRuns: make(chan uuid.UUID),
|
||||||
jobsOutCompleted: make(chan uuid.UUID),
|
jobsOutCompleted: make(chan uuid.UUID),
|
||||||
jobOutRequest: make(chan *jobOutRequest, 1000),
|
jobOutRequest: make(chan *jobOutRequest, 100),
|
||||||
done: make(chan error, 1),
|
done: make(chan error, 1),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue