Skip to content

Commit adc83cf

Browse files
committed
changing limit in code
1 parent c0ed5ed commit adc83cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/metabase/query_processor/middleware/process_userland_query.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@
160160
(let [context (get-in query [:info :context])
161161
query (update-in query[:native] assoc :original_query (get-in query[:native :query]))
162162
raw_query (clojure.string/replace (get-in query[:native :query]) #"[ ;]*$" "" )
163-
limit (if(adhoc-or-question? context) (atom 10000) (atom 100000))]
163+
limit (if(adhoc-or-question? context) (atom 60000) (atom 100000))]
164164
(if-not (re-find #"(?i)limit " raw_query)
165165
(update-in query[:native] assoc :query (str raw_query " limit " @limit ))
166166
query

0 commit comments

Comments
 (0)