Skip to content

Commit

Permalink
Merge pull request #222 from taketo1113/optimized-query-trilogy
Browse files Browse the repository at this point in the history
Optimize mysql query with trilogy gem
  • Loading branch information
albus522 authored Aug 13, 2024
2 parents c7e7ceb + 5ec06b1 commit ae37fa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/delayed/backend/active_record.rb
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def self.reserve_with_scope_using_optimized_sql(ready_scope, worker, now)
case connection.adapter_name
when "PostgreSQL", "PostGIS"
reserve_with_scope_using_optimized_postgres(ready_scope, worker, now)
when "MySQL", "Mysql2"
when "MySQL", "Mysql2", "Trilogy"
reserve_with_scope_using_optimized_mysql(ready_scope, worker, now)
when "MSSQL", "Teradata"
reserve_with_scope_using_optimized_mssql(ready_scope, worker, now)
Expand Down

0 comments on commit ae37fa0

Please sign in to comment.