Closed GoogleCodeExporter closed 9 years ago
What exactly do you propose Objectify do with a HardDeadlineException? Mask it
from application code so your app fails silently?
Original comment by lhori...@gmail.com
on 1 Jul 2013 at 10:25
Do not think that silent fail is a good approach. But this approach is not
helpful also. I do not know that any operation is timeouted. And logs just show
me that I am out of my 60 sec deadline. So even if I will put some filter
before Objectify filter to do some clean up I will just do not have time to do
it, cause request is already failed. Probably it would be a good idea to be
able to register some General error handler and call it with exception before
deadline (probably a couple of seconds before it).
Original comment by k.lebe...@electionear.com
on 1 Jul 2013 at 11:05
I'm not quite sure what you want Objectify to do for you. GAE throws the
exception and it's up to you to catch it. This isn't even a datastore-specific
issue; that exception can be thrown from any blocking operation within GAE,
such as the task queue and urlfetch apis.
You can create a servlet Filter which catches this exception. There's nothing
special about Objectify and no reason why Objectify should be responsible for
it.
Original comment by lhori...@gmail.com
on 2 Jul 2013 at 6:21
Original issue reported on code.google.com by
k.lebe...@electionear.com
on 1 Jul 2013 at 7:29