This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-03-07
Channels
- # announcements (20)
- # babashka (25)
- # beginners (48)
- # biff (26)
- # calva (5)
- # cider (3)
- # clara (7)
- # clerk (7)
- # clj-kondo (61)
- # cljdoc (3)
- # clojure (6)
- # clojure-austin (1)
- # clojure-conj (8)
- # clojure-europe (58)
- # clojure-nl (1)
- # clojure-norway (4)
- # clojure-poland (1)
- # clojure-uk (9)
- # cursive (2)
- # emacs (11)
- # fulcro (8)
- # graphql (14)
- # gratitude (6)
- # humbleui (10)
- # hyperfiddle (17)
- # integrant (15)
- # introduce-yourself (1)
- # leiningen (5)
- # malli (13)
- # meander (21)
- # nbb (11)
- # off-topic (15)
- # pedestal (15)
- # polylith (15)
- # quil (28)
- # rdf (2)
- # reitit (3)
- # releases (6)
- # sci (21)
- # shadow-cljs (38)
- # spacemacs (3)
- # xtdb (6)
I’m using Amazonica to call out to s3 but eventually calls start failing with “Unable to execute HTTP request: Timeout waiting for connection from pool”. Probably the issue is not closing an input stream somewhere and filling up the pool but looking to get some visibility into what’s going on with the pool I’ve been trying to work out how to call getConnectionTTL()
of https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/ClientConfiguration.html
I found client-config
https://github.com/mcohen01/amazonica/blob/master/src/amazonica/core.clj#LL46C44-L46C44 but it’s private, am I going about this in the wrong way?
I’ve enabled sdk metrics by setting a java flag as per https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/metrics/AwsSdkMetrics.html#enableDefaultMetrics-- and I’m seeing them come up in my Cloudwatch but I can’t work out how to access the instances of that class at runtime either
I'd like to test an unreleased version of a lib with some modifications. I have the code locally, and I would like to use leiningen's checkout dependency to work on that. However, this new dependency uses deps.edn
and it seems leiningen cannot find it. Is there a way other than creating a project.clj for this lib?
You may be able to install
the dependency into your local .m2 cache and then depend on it from your project.clj. You can usally still work with both projects in the REPl (e.g. in cider use sesman-link-with-repl
in a namespace after you start the repl)
You may be able to manually create a project.clj from the deps.edn file if its not a complicated one.
A workaround might be to add all the dependencies from deps.edn into your project.clj and the add the source path to project.clj too. (https://github.com/technomancy/leiningen/blob/github/sample.project.clj)