Commit Graph

2 Commits

Author SHA1 Message Date
BenClaw eef3d17431 feat(counter): add Mozo::Counter.provision! to seed Redis from CouchDB
- Reads Order.by_supplier_id_and_state view (reduce, grouped)
- Sets Redis keys: supplier_counter:<id>:orders_placed / orders_in_process
- Creates design doc if missing (from drb_counter/couchdb_design.yml)
- Rake task: rails counters:provision
- Also invokable directly: rails runner 'Mozo::Counter.provision!'
2026-05-17 22:02:56 +02:00
bterkuile 95e268adea Implement spring and reset counters functionality 2014-03-07 13:37:01 +01:00