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 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.