Liking cljdoc? Tell your friends :D
Clojure only.

wagoe.cache.shell.module-wiring

Integrant wiring for the cache module.

Supports two providers selectable via config:

  • :redis — distributed Redis-backed cache (production)
  • :in-memory — local atom-based cache (dev / tests without Redis)

Config key: :wagoe/cache Example (Redis): {:provider :redis :host "localhost" :port 6379 :default-ttl 300 :max-total 20 :max-idle 10 :min-idle 2}

Example (in-memory): {:provider :in-memory :default-ttl 300 :max-size 10000}

Integrant wiring for the cache module.

Supports two providers selectable via config:
- :redis      — distributed Redis-backed cache (production)
- :in-memory  — local atom-based cache (dev / tests without Redis)

Config key: :wagoe/cache
Example (Redis):
  {:provider :redis
   :host "localhost" :port 6379
   :default-ttl 300
   :max-total 20 :max-idle 10 :min-idle 2}

Example (in-memory):
  {:provider :in-memory
   :default-ttl 300
   :max-size 10000}
raw docstring

ig-configclj

(ig-config settings _ctx)

This module's Integrant entries, for wagoe.platform.shell.system.config.

The cache is one component, but the HTTP handler takes a ref to it, so this cannot be the default passthrough the assembler applies to a settings-only module.

This module's Integrant entries, for `wagoe.platform.shell.system.config`.

The cache is one component, but the HTTP handler takes a ref to it, so this
cannot be the default passthrough the assembler applies to a settings-only
module.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close