Howdy, Folks
A short while ago my app started throwing all sorts of nasty "Your app
just used 1.9 times the allocated CPU time!" warning logs for
basically every page load. Apparently I'm having some troubles with
query.fetch which I'm hoping someone can help me sort out. For some
reason just a simple query like the one below causes the profiler to
throw out crazy numbers: "237860 function calls (234982 primitive
calls) in 1.409 CPU seconds"
query = Profile.all()
query.filter('public =', True)
query.order('-updated')
recent_profiles = query.fetch(5)
the "Profile" datastore object has:
- 1 UserProperty
- 2 DateTimeProperties
- 1 BooleanProperty
- 7 StringProperties
- 2 TextProperties
Also, since this is on my development server I don't have more than 15
entries.
My appologies ahead of time for getting any crucial details, I'm a bit
lost on where to go from here since most of my code has been pulled
straight from the docs.
Thanks in advance for any support,
Patrick
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---