Last active
April 9, 2018 12:12
-
-
Save philangist/b70047c64557381affc6940824316db0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Reservation grant | |
# Used to keep track of the status of a given message | |
reservation_grant = [ | |
"unprocessed", | |
"reserved-{timestamp}-{process_id}-{thread_id}", # used by a worker to acquire messages for itself | |
"processed", | |
] | |
# Batch ids | |
# can be used for creating a digest of the same notification type recorded over a time interval | |
# can be used for creating a digest of a class of similar notifications (i.e approval workflor updates) recorded over a time interval | |
# can be used for creating a user or scope specific digest | |
# can be used for creating an object specific digest | |
# can be used for delaying notifications. i.e, don't send this message until exactly 24 hours from now | |
batch_id = [ | |
"{notification_constant}-{timestamp_with_hour_precision}", | |
"{notification_constant}-{scope_uid}-{timestamp_with_day_precision}", | |
"{notification_constant_prefix}-{object_uid}-{user_id}--{timestamp_with_week_precision}", | |
] | |
# Notification constant | |
constant = "notification.approval.workflow.user_add" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment