Crate autopush_common

Source

Modules§

db
endpoint
errors
Error handling for common autopush functions
logging
metric_name
Defines standard metric names used across the application.
metrics
middleware
notification
Notification protocol
redis_util
reliability
sentry
tags
test_support
util
Various small utilities accumulated over time for the WebPush server

Constants§

MAX_FCM_NOTIFICATION_TTL
FCM has a max TTL of 4 weeks (28 days). In most use cases, converted to seconds through .num_seconds().
MAX_NOTIFICATION_TTL
The maximum TTL for notifications (30 days). In most use cases, converted to seconds through .num_seconds().
MAX_ROUTER_TTL
The maximum TTL for router records (60 days). In most use cases, converted to seconds through .num_seconds().