Heroku: choose an eviction policy at creation
You can now choose your data store’s eviction policy when creating a Memetria
for Redis add-on on Heroku. For example, use noeviction for a queue that
should reject writes when memory is full instead of evicting keys:
heroku addons:create memetria-redis:minidev -- --maxmemory-policy=noeviction
The setting applies from the first boot. You can also set maxmemory-policy
in the add-on’s options in app.json for repeatable provisioning,
including Review Apps. To change the policy afterward, use the Memetria dashboard.