https://github.com/snoe/clojure-lsp/releases/tag/release-20200805T014150 of cloure-lsp
supporting CodeLens
! 🎉 More info on #lsp
Here is a :emacs: example showing references code lens
Hi folks!
A new version of https://github.com/dakrone/clj-http is out: 3.10.2
🎉
The release contains a few bug fixes and minor enhancements (most notably: support for GraalVM).
For more information, see https://github.com/dakrone/clj-http/blob/facddf1ca2d86ccc0d943f5787cce19aca3b1035/changelog.org#3102.
Hi! I did some random walk summertime hacking and made a Cypress ClojureScript preprocessor using shadow-cljs, so you can write Cypress test files in ClojureScript: https://github.com/viesti/cypress-clojurescript-preprocessor. Probably very rough on the edges, but if you like, give it a try and file issues for improvement 🙂
8👍1⚛️Nice! Here:
;; or wait a random amount of time with +/- a random variation
:retry-delay [:random 3000 :+/- 0.35]
Q1: Is the +/- a fraction of the base, i.e. +/- 300 * 0.35? And is it really "random amount of time with +/-" or rather "given amount of time with +/- random variation"? Update: Reading more of the Readme I see this is indeed the case
Typo here:
;; if the output of the body should be considered as a filed response
Q2: And what is "thread pool queue size"? How many calls can wait for a thread to become available? What happens to those that do not fit in? Update: I see it is later explained to be indeed the case.
Typo: time an incrising number
Q3: What does :failure-threshold 0.5
mean? That 50% of requests in some time window failed??
"Hystrix over the years became unnecessarily a huge library." - and it is also deprecated in favour of resilience4j or adaptive limits.Hi @holyjak,
thanks for the typos, i’ll fix it.
A1: it produces a random jitter with uniform distribution around the base
with a +/- a given pct
. you can see it as roughly 3s (across many calls)
A2: Queue size and thread-pool size are configurable, requests are rejected of no space/thread is available. Depending on the configuration the request might be retried in a later time
A3: :failure-threshold
checks how many requests failed within the last x seconds (controlled by :counters-buckets
) and if the threshold is crossed it flips the circuit open.