Skip to content

Commit

Permalink
Change queue impl (#605)
Browse files Browse the repository at this point in the history
  • Loading branch information
KirillPamPam authored Dec 10, 2024
1 parent de2a734 commit 1b022df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion foundation/src/main/resources/public
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import reactor.core.scheduler.Scheduler
import reactor.core.scheduler.Schedulers
import java.util.concurrent.Executor
import java.util.concurrent.ExecutorService
import java.util.concurrent.SynchronousQueue
import java.util.concurrent.LinkedBlockingQueue
import java.util.concurrent.ThreadPoolExecutor
import java.util.concurrent.TimeUnit

Expand Down Expand Up @@ -91,7 +91,7 @@ open class SchedulersConfig {
size * threadsMultiplier,
60L,
TimeUnit.SECONDS,
SynchronousQueue(),
LinkedBlockingQueue(1000),
CustomizableThreadFactory("$name-"),
)

Expand Down

0 comments on commit 1b022df

Please sign in to comment.