Philip
unread,Mar 2, 2012, 9:37:34 PM3/2/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
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?