Description

A service that is responsible for handling errors that occur during message sending process. After catching an error, service goes through the following steps:

  • checks if the error is recoverable (tries to refresh the subscribers token)
  • unsubscribes the subscribers if the error is not recoverable

Startup method

The new configuration to start the service uses the process_subscribers_errors command in Django. This is the recommended way to run the service:

python manage.py process_subscribers_errors

Old startup method (deprecated)

Previously, the service was launched using the rqworker command with the subscribers argument. However, this method is now deprecated, and it’s recommended to use the new approach. Running it the old way may cause child processes to freeze for an unknown reasons.

python manage.py rqworker subscribers

Queues