Skip to content
Snippets Groups Projects
Commit 679bcac3 authored by Cam Saul's avatar Cam Saul
Browse files

code cleanup

parent a612864e
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,7 @@
[lein-expectations "0.0.8"] ; run unit tests with 'lein expectations'
[lein-instant-cheatsheet "2.1.1"] ; use awesome instant cheatsheet created by yours truly w/ 'lein instant-cheatsheet'
[lein-marginalia "0.8.0"] ; generate documentation with 'lein marg'
[refactor-nrepl "1.0.5"]] ; support for advanced refactoring in Emacs/LightTable
[refactor-nrepl "1.1.0-SNAPSHOT"]] ; support for advanced refactoring in Emacs/LightTable
:global-vars {*warn-on-reflection* true} ; Emit warnings on all reflection calls
:jvm-opts ["-Dlogfile.path=target/log"
"-Xms1024m" ; give JVM a decent heap size to start with
......
......@@ -197,7 +197,7 @@
(sequential? (:cols results))
(sequential? (:rows results))]}
(let [num-results (count (:rows results))]
(cond-> {:row_count (count (:rows results))
(cond-> {:row_count num-results
:status :completed
:data results}
(= num-results max-result-rows) (assoc :num_results_over_limit true)))) ; so the front-end can let the user know why they're being arbitarily limited
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment