Browse Source

Druid timeout is in milliseconds

Andrew Kane 6 năm trước cách đây
mục cha
commit
9e94ce8b79
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lib/blazer/adapters/druid_adapter.rb

+ 1 - 1
lib/blazer/adapters/druid_adapter.rb

@@ -14,7 +14,7 @@ module Blazer
         data = {
           query: statement,
           context: {
-            timeout: timeout
+            timeout: timeout * 1000
           }
         }