Model.put()
Datastore has db.put()
. I did not notice the latter can put several entities at once until Arachnid told me so. So in my code I changed this:for cell in cells: cell.put()To this:
db.put(cells)That's all what was needed to fix the performance.
No comments:
Post a Comment