Move removal target of SQLite's retries config to 8.1

This warning was just introduced, we need one release in
between for people to see it.
This commit is contained in:
Xavier Noria 2024-08-17 09:03:51 +02:00
parent b26a9fd255
commit 7d282b449e
1 changed files with 1 additions and 1 deletions

View File

@ -788,7 +788,7 @@ module ActiveRecord
@raw_connection.busy_handler_timeout = timeout
elsif @config[:retries]
ActiveRecord.deprecator.warn(<<~MSG)
The retries option is deprecated and will be removed in Rails 8.0. Use timeout instead.
The retries option is deprecated and will be removed in Rails 8.1. Use timeout instead.
MSG
retries = self.class.type_cast_config_to_integer(@config[:retries])
raw_connection.busy_handler { |count| count <= retries }