Skip to content

Commit f06a5d2

Browse files
committed
Don't add busy_handler when using extralite
1 parent bed68ed commit f06a5d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/enhanced_sqlite3/adapter.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ def configure_connection
9494

9595
def configure_busy_handler_timeout
9696
return unless @config.key?(:timeout)
97+
return if @config[:client] == "extralite" # extralite doesn't support busy_handler
9798

9899
timeout = self.class.type_cast_config_to_integer(@config[:timeout])
99100
timeout_seconds = timeout.fdiv(1000)

0 commit comments

Comments
 (0)