Skip to content

Commit

Permalink
Set akka.persistence.query.journal.sql.max-concurrent-queries = 100
Browse files Browse the repository at this point in the history
… by default (#6449)

Need to be able to run additional queries by default due to pagination being highly interleaved. `100` is a safe value according to our tests.
  • Loading branch information
Aaronontheweb authored Feb 26, 2023
1 parent 994f1e7 commit 9c6501c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
akka.persistence.query.journal.sql {
akka.persistence.query.journal.sql {
# Implementation class of the SQL ReadJournalProvider
class = "Akka.Persistence.Query.Sql.SqlReadJournalProvider, Akka.Persistence.Query.Sql"

Expand All @@ -18,5 +18,5 @@
max-buffer-size = 100

# Determines how many queries are allowed to run in parallel at any given time
max-concurrent-queries = 50
}
max-concurrent-queries = 100
}

0 comments on commit 9c6501c

Please sign in to comment.