Wow, I haven't even thought about capability api since we moved to HRD way
back when. HRD FTW!
Mike
On Friday, March 2, 2012 8:37:34 PM UTC-6, Philip wrote:
>
> I used to use...
>
> from google.appengine.api.capabilities import CapabilitySet
> if (settings.MAINTENANCE_MODE or
> not CapabilitySet('datastore_v3',
> capabilities=['write']).is_enabled() or
> not CapabilitySet('memcache',
> methods=['set']).is_enabled()):
>
> ...to determine if app engine was in maintenance mode.
>
> Now that I have migrated apps to use HRD, instead of the old Master/
> Slave datastore, what capability set checks should I use to determine
> if the app should be set automatically in maintenance mode?
>
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-appengine/-/pL96vDr1QPQJ.
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.