Skip to content

Commit

Permalink
Bump the worker execute time from 60s to 180s
Browse files Browse the repository at this point in the history
  • Loading branch information
marko-bekhta committed Jun 19, 2024
1 parent 7319575 commit 8c98f1c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,6 @@ private void indexAll(FailureCollector failureCollector) {
.batchSizeToLoadObjects(indexingConfig.batchSize())
.threadsToLoadObjects(indexingConfig.parallelism().orElse(6))
.context(QuarkusIOLoadingContext.class, QuarkusIOLoadingContext.of(quarkusIO))
// this could lead to a BlockedThreadChecker complaining if called through /reindex
// [i.ve.co.im.BlockedThreadChecker] Thread Thread[vert.x-worker-thread-1,5,main] has been blocked for 61076 ms, time limit is 60000 ms:
.startAndWait();
}

Expand Down
5 changes: 5 additions & 0 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -242,3 +242,8 @@ quarkus.web-bundler.bundling.loaders.data-url=svg
quarkus.web-bundler.bundling.loaders.file=
quarkus.web-bundler.bundle-redirect=true
quarkus.web-bundler.dependencies.node-modules=node_modules

########################
# Vert.x config
########################
quarkus.vertx.max-worker-execute-time=180S

0 comments on commit 8c98f1c

Please sign in to comment.