Sounds like a pretty useful feature, actually. As far as I know, there's no
way of doing this. Did you have any ideas how this would be implemented
outside App Engine? Maybe we can cook something up.

I'd go ahead and file this as a feature request:
http://code.google.com/p/googleappengine/issues/list

On Thu, Dec 24, 2009 at 2:49 AM, phraktle <[email protected]> wrote:

> 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]<google-appengine-java%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>
>


-- 
Ikai Lan
Developer Programs Engineer, Google App Engine

--

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