Skip to content

Commit

Permalink
0005860: Increase the statement query timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
erilong committed May 26, 2023
1 parent 7da446f commit dc8d828
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions symmetric-core/src/main/resources/symmetric-default.properties
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,11 @@ target.db.init.sql=
# Type: integer
target.db.jdbc.streaming.results.fetch.size=

# Most target symmetric queries have a timeout associated with them. This is the default.
# Number of seconds a query can execute before being interrupted using the statement query timeout.
# The timeout can avoid hanging if a query is slow to return because of an un-optimized plan or if the system is overloaded.
# Set to zero for no limit.
# (Make sure socket/read timeout in db.url is set higher than query timeout.)
#
# Tags: database
# Type: integer
target.db.sql.query.timeout.seconds=
Expand Down Expand Up @@ -295,10 +299,14 @@ sync.trigger.prefix=
# Tags: database
sync.table.prefix=sym

# Most symmetric queries have a timeout associated with them. This is the default.
# Number of seconds a query can execute before being interrupted using the statement query timeout.
# The timeout can avoid hanging if a query is slow to return because of an un-optimized plan or if the system is overloaded.
# Set to zero for no limit.
# (Make sure socket/read timeout in db.url is set higher than query timeout.)
#
# Tags: database
# Type: integer
db.sql.query.timeout.seconds=300
db.sql.query.timeout.seconds=3600

# Override the JDBC isolation level. The isolation level is detected by platform and automatically set,
# but it can be overridden here. Most platforms need at least read committed level to prevent
Expand Down

0 comments on commit dc8d828

Please sign in to comment.