Business intelligence made simple
Added timeout messages
Andrew Kane3f15b71b94bc
diff --git a/lib/blazer.rb b/lib/blazer.rbindex 36467050..b4da5dc4 100644--- a/lib/blazer.rb+++ b/lib/blazer.rb@@ -29,7 +29,9 @@ module BlazerTIMEOUT_ERRORS = ["canceling statement due to statement timeout", # postgres"cancelled on user's request", # redshift- "system requested abort" # redshift+ "canceled on user's request", # redshift+ "system requested abort", # redshift+ "maximum statement execution time exceeded" # mysql]BELONGS_TO_OPTIONAL = {}BELONGS_TO_OPTIONAL[:optional] = true if Rails::VERSION::MAJOR >= 5