Update tasks.py

add limit