Re: How should I debug a poorly performing small web app, using Jetty?

2019-01-20 Thread Matching Socks
(Takes me back to the heyday of SQL, when one thread would start a long transaction, which the db would establish as a full-table lock, and nothing else could get done until the transaction committed.) Another thing you could do is decouple the periodic bulk procedure from the web app and run t

Re: Any way to replace function body?

2019-01-20 Thread Mars0i
Functions are values. Why not just this: (defn foo [] 42) (def bar foo) (defn foo [] (inc (bar))) (foo) ;=> 43 -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new mem

Re: Any way to replace function body?

2019-01-20 Thread Mars0i
To make the point explicit, bar now contains the original foo function: (bar) ;=> 42 -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please