I never used task queue before. I'm having a problem trying to get a report of all of my contacts from the datastore.
The code is:
allContactos=db.GqlQuery("select * from contactsDB").run(batch_size=1000)
for contactN in allContactos:
... (here I put all the fields in csv format)
The problem is that I'm getting a "500 Server Error" because of the massive quantity of contacts.
My question is, is it a good aproach to try to solve this with task queue? can you give me some tip to segregate that query in many tasks?
Regards!