File tree Expand file tree Collapse file tree 2 files changed +6
-15
lines changed
appengine/flexible/memcache Expand file tree Collapse file tree 2 files changed +6
-15
lines changed Original file line number Diff line number Diff line change @@ -7,12 +7,10 @@ runtime_config:
77
88# [START env_variables]
99env_variables :
10- # If you are using the App Engine Memcache service (currently in alpha),
11- # uncomment this section and comment out the other Memcache variables.
12- # USE_GAE_MEMCACHE: 1
1310 MEMCACHE_SERVER : your-memcache-server
14- # If you are using a Memcached server with SASL authentiation enabled,
15- # fill in these values with your username and password.
16- MEMCACHE_USERNAME : your-memcache-username
17- MEMCACHE_PASSWORD : your-memcache-password
11+ # If you are using a third-party or self-hosted Memcached server with SASL
12+ # authentiation enabled, uncomment and fill in these values with your
13+ # username and password.
14+ # MEMCACHE_USERNAME: your-memcache-username
15+ # MEMCACHE_PASSWORD: your-memcache-password
1816# [END env_variables]
Original file line number Diff line number Diff line change 2323
2424# [START client]
2525# Environment variables are defined in app.yaml.
26- # Note: USE_GAE_MEMCACHE is in whitelist-only alpha. See README.md
27- if os .environ .get ('USE_GAE_MEMCACHE' ):
28- MEMCACHE_SERVER = ':' .join ([
29- os .environ .get ('GAE_MEMCACHE_HOST' , 'localhost' ),
30- os .environ .get ('GAE_MEMCACHE_PORT' , '11211' )])
31- else :
32- MEMCACHE_SERVER = os .environ .get ('MEMCACHE_SERVER' , 'localhost:11211' )
33-
26+ MEMCACHE_SERVER = os .environ .get ('MEMCACHE_SERVER' , 'localhost:11211' )
3427MEMCACHE_USERNAME = os .environ .get ('MEMCACHE_USERNAME' )
3528MEMCACHE_PASSWORD = os .environ .get ('MEMCACHE_PASSWORD' )
3629
You can’t perform that action at this time.
0 commit comments