Explorar o código

Fixed cache mode error

Andrew Kane %!s(int64=9) %!d(string=hai) anos
pai
achega
df0b2b27e9
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      lib/blazer/data_source.rb

+ 4 - 0
lib/blazer/data_source.rb

@@ -54,6 +54,10 @@ module Blazer
             "mode" => "all",
             "expires_in" => settings["cache"]
           }
+        else
+          {
+            "mode" => "off"
+          }
         end
       end
     end