Django - Celery and Background Tasks
Find the bug in this retry logic:
```python
@app.task(bind=True, max_retries=2)
def fetch_data(self):
try:
data = get_data()
except Exception as exc:
self.retry(exc=exc)
```
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions