Hi,

Is there a way to actually lower the timeout for a given request? In
some cases I would like to guarantee a quicker response time (eg.
subsecond) and bail out if it's not happening (eg. due to a temporary
slowness in the datastore). Of course, one could just check
currentTimeMillis from all over the place, but that's a sub-par
solution compared to just getting a DeadlineExceededException from any
call...

It would be nice to have such capability on the QuotaService, eg. get/
setDeadline (naturally, it would only allow setting to a lower value
than previously).

btw. a related question... let's say I have a simple infinite loop in
the code... will GAE throw a DeadlineExceededException in this case?
or only from Google API calls? do we only get a
HardDeadlineExceededError instead?

Regards,
  Viktor

--

You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" 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-java?hl=en.


Reply via email to