Initial commit

This commit is contained in:
Yaser
2026-08-13 19:50:53 +03:30
commit 38084458fe
879 changed files with 95198 additions and 0 deletions

12
app/workers/amqp/base.rb Normal file
View File

@@ -0,0 +1,12 @@
# encoding: UTF-8
# frozen_string_literal: true
module Workers
module AMQP
class Base
def is_db_connection_error?(exception)
exception.is_a?(Mysql2::Error::ConnectionError) || exception.cause.is_a?(Mysql2::Error)
end
end
end
end