Skip to content
Bill La Forge edited this page Feb 18, 2016 · 1 revision

First, create another namespace to set the parameter in:

(ns duracell.strap)

(defn jetty-init [] (.put (System/getProperties) "org.eclipse.jetty.servlet.Default.useFileMappedBuffer" "false") )

Then add :init to serve in build.boot:

(serve :port 8000 :init 'duracell.strap/jetty-init)

Clone this wiki locally