You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`content_security_policy_nonce` | Sets the content security policy nonce to use when inserting Dial's script. Can be a string, or a Proc which receives `env` and response `headers` as arguments and returns the nonce string. | Rails generated nonce or `nil`
59
61
`vernier_interval` | Sets the `interval` option for vernier. | `200`
60
62
`vernier_allocation_interval` | Sets the `allocation_interval` option for vernier. | `2_000`
61
63
`prosopite_ignore_queries` | Sets the `ignore_queries` option for prosopite. | `[/schema_migrations/i]`
62
64
65
+
## Storage Backends
66
+
67
+
### File Storage (Default)
68
+
69
+
Profile data is stored as files on disk with polled expiration. Only suitable for development and single-server deployments.
70
+
71
+
```ruby
72
+
Dial.configure do |config|
73
+
config.storage =Dial::Storage::FileAdapter
74
+
config.storage_options = { ttl:86400 }
75
+
end
76
+
```
77
+
78
+
### Redis Storage
79
+
80
+
Profile data is stored in Redis with automatic expiration. Supports both single Redis instances and Redis Cluster.
0 commit comments