delivery_response_timeout

March 26, 2020 Contributors

Name

delivery_response_timeout — time to wait for a response to an outbound request

Synopsis

delivery_response_timeout = 5000

Description

The time in milliseconds to wait for a response to an outbound request. Use this option when delivery_method is set to an HTTP protocol.

The default value is 5000.

This option was introduced to define the delivery response timeout for Mobile push notifications. Use it in the following way:

domain "apn_example.com"{
  ...
  delivery_method = "apn"
  routes = ("apn://gateway.push.apple.com?port=2195")
  idle_timeout = 10
  delivery_response_timeout = 1000
}
domain "gcm.example.com" {
  ...
  delivery_method = "gcm"
  routes = ("gcm://android.google.apis.com?port=443")
  idle_timeout = 10
  delivery_response_timeout = 1000
}

Scope

delivery_response_timeout is valid in the global, binding, and domain scopes.

See Also

idle_timeout, delivery_method, and Momentum for Mobile Push Notifications