Lazily initialize Executor in ScheduledDataLoaderRegistry builder by kilink · Pull Request #135 · graphql-java/java-dataloader

@kilink

Calling ScheduledDataLoaderRegistry.newScheduledRegistry would create a new
ScheduledExecutorService on every call, regardless of whether a custom one
was supplied. Move creation of the default ScheduledExecutorService from the
builder field to the build method to avoid the issue.

bbakerman

approved these changes Nov 12, 2023

@kilink kilink deleted the lazy-init-executor branch

August 4, 2024 20:37