Fork me on GitHub
#cljdoc
<
2019-06-29
>
borkdude14:06:38

while trying to preview docs locally, I'm seeing a lot of:

INFO [2019-06-29 14:51:11,744] Tea-Time 0 - cljdoc.server.clojars-stats Read ... 4844 releases

INFO [2019-06-29 14:51:13,706] Tea-Time 0 - cljdoc.server.clojars-stats Read ... 4906 releases

INFO [2019-06-29 14:51:15,604] Tea-Time 0 - cljdoc.server.clojars-stats Read ... 4802 releases
@martinklepsch can this be turned off? it takes a long time before I can preview my docs (I have waited for 20 minutes now and still can't)

borkdude14:06:48

cljdoc stickers? I want!

borkdude14:06:35

I'm not interested in any internet traffic while previewing docs locally 🙂

borkdude15:06:12

I'm now trying this:

docker run --rm -p 8000:8000 -v /tmp/cljdoc:/app/data -v $PWD/script:/app/config \
       -e CLJDOC_CONFIG_EDN=/app/config/cljdoc-config.edn cljdoc/cljdoc
{:cljdoc/server {:disable-release-monitor? true}}
but that leaves me with config errors... it seems it needs a complete config file. that's closed world thinking! 😉

martinklepsch15:06:48

@borkdude I think the release fetching shouldn’t cause any blocking

borkdude15:06:59

well, it does, it locks lucene

martinklepsch15:06:46

Suggestions/PRs welcome as usual but in weekend mode right now 😄

martinklepsch15:06:04

I’ll get you a sticker when we see each other at heart of Clojure

borkdude15:06:05

My suggestion would be to disable this thing by default as this is only for production

borkdude15:06:18

(is my impression)

borkdude15:06:27

I am now able to preview the docs when I go directly to the URL