Perhaps you could check if the datastore is in read-only mode at the beginning of the task, then do what ever action is appropriate for your case (like raise an exception).
Robert On Mon, Apr 26, 2010 at 4:45 AM, Matija <[email protected]> wrote: > Is there way to pause task queue if datastore is currently in readonly > state ? > If task queue needs to persist something in datastore I need to left > exception to be thrown so that it retries over and over until > datastore is in normal state. Is there some other clever way to handle > readonly datastore state in combination with task queue ? > > -- > 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. > > -- 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.
