not-raspberry
not-raspberry
I expect extra command-line parameters to be ignored by `lein-ring` and handled by the application (by parsing `*command-line-args*` in some function hooked into `:init` in project.clj). For example: - `$...
Environment variables have their own issues. Mostly, they are implicit and slightly clumsy. That's a philosophical dispute. Writing my own `-main` is the way I chose. Regarding losing ability to...
@rpazyaquian Add ``` :main your-app.core ``` to `defproject` in project.clj. The `your-app.core` namespace is where you place your `-main`.
As a side note, if you enable a worker (with `-l DEBUG`), you can observe how it struggles with the first elements, until only 8 levels are remaining. Then it...
``` $ virtualenv ../CELERY_REPRO/ -ppython3.6 Running virtualenv with interpreter /usr/bin/python3.6 Using base prefix '/usr' New python executable in /home/k/IDE/CELERY_REPRO/bin/python3.6 Also creating executable in /home/k/IDE/CELERY_REPRO/bin/python Installing setuptools, pip, wheel...done. $ pip...
The full code sample is included in the first comment. You can try it yourself or even include it as a performance test.