Hi DarkCoiote,

How rapidly are puts being made on a single entity? There is a write
speed limit for a single entity or entity-group so if these puts are
being made against the same person, or if puts are being made to
objects which share the same parent, the put operations may queue up
and eventually time out. Does this seem like it could be the issue?

Thank you,

Jeff

On Apr 3, 5:31 am, DarkCoiote <darkcoi...@gmail.com> wrote:
> 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 google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to