Permalink
Fetching contributors…
Cannot retrieve contributors at this time
82 lines (67 sloc) 2.17 KB
[ServerSpecific]
# Name of your application
game = GameName
# Id of pushkin instance
world_id = 1
# Default API port
port = 8887
[Messenger]
# if true, gcm clients will not receive notifications
dry_run = false
# max batch size for apn notifications
apns_batch_size = 500
apns_topic = <YOUR TOPIC HERE>
apns_certificate_path = <ABSOLUTE-PATH-TO-APN-CERTIFICATE-HERE>
gcm_access_key = <YOUR-GCM-KEY-HERE>
# for future use
apns_sandbox = false
connection_error_retries = 3
# Baselink for your application sent with push notifications
base_deeplink_url = application_name.com
[RequestProcessor]
# queue limit for requests processor. See Monitoring API for reference
queue_limit = 50000
# Number of threads for request processor
request_processor_num_threads = 10
[Sender]
# queue limit for sender processor. See Monitoring API for reference
sender_queue_limit = 50000
enabled_senders =
pushkin.sender.senders.ApnNotificationSender {"workers": 50}
pushkin.sender.senders.GcmNotificationSender {"workers": 50}
[Log]
# log configuration
main_logger_name = pushkin
main_log_path = /var/log/pushkin/
notifications_logger_name = notifications
notification_log_path = /var/log/pushkin/notification/
notification_log_when_to_rotate = H
notification_log_rotate_suffix = %Y-%m-%d_%H
# notset, debug, info, warning, error, critical
main_log_level = DEBUG
keep_log_days = 7
[Database]
# database credentials
# to use unix socket set this to socket directory path
db_host = localhost
db_port = 5432
db_user = pushkin
db_name = pushkin
db_pass = pushkin
db_pool_size = 20
max_devices_per_user = 10
max_users_per_device = 1
[Event]
# event id of prebuilt login event
login_event_id = 4001
turn_off_notification_event_id = 4006
[RequestHandler]
# URLs for all request handlers
proto_event_handler_url = /post_events_proto
proto_notification_handler_url = /post_notification_proto
json_event_handler_url = /post_events_json
json_notification_handler_url = /post_notification_json
request_queue_handler_url = /get_request_queue
apn_sender_queue_handler_url = /get_apn_sender_queue
gcm_sender_queue_handler_url = /get_gcm_sender_queue
notification_post_processor_queue_handler_url = /get_notification_post_processor_queue