Getting a bad number of datastore timeout... and the operation is
'simple', is a put in simple model;...
Traceback (most recent call last):
File "/base/python_lib/versions/1/google/appengine/ext/webapp/
__init__.py", line 501, in __call__
handler.get(*groups)
File "/base/data/home/apps/naval-war/1.332510333196150921/main.py",
line 218, in get
person.put()
File "/base/python_lib/versions/1/google/appengine/ext/db/
__init__.py", line 669, in put
return datastore.Put(self._entity)
File "/base/python_lib/versions/1/google/appengine/api/
datastore.py", line 166, in Put
raise _ToDatastoreError(err)
File "/base/python_lib/versions/1/google/appengine/api/
datastore.py", line 1965, in _ToDatastoreError
raise errors[err.application_error](err.error_detail)
Timeout
person model:
class Person(db.Model):
id = db.StringProperty()
score = db.IntegerProperty(default=0)
currentFleet = db.IntegerProperty(default=0)
availableShots = db.IntegerProperty(default=0)
maxShots = db.IntegerProperty(default=0)
shipsSunk = db.ListProperty(int,verbose_name="Sunken ships list",
default=[0,0,0,0,0])
shipsLost = db.ListProperty(int,verbose_name="Lost ships list",
default=[0,0,0,0,0])
lastAccess = db.DateTimeProperty(auto_now_add=True)
see... no references or anything complicated....
any tips on how to reduce the number of datastore timeouts??
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---