Python
Getting Started
Install
PyPI
Get QStash token
Follow the instructions here to get your QStash token and signing keys.
Usage
Synchronous Client
Asynchronous Client
RetryConfig
You can configure the retry policy of the client by passing the configuration to the client constructor.
Note: This isn for sending the request to QStash, not for the retry policy of QStash.
The default number of retries is 5 and the default backoff function is lambda retry_count: math.exp(retry_count) * 50
.
You can also pass in False
to disable retrying.