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:
7
7
8
8
# [START env_variables]
9
9
env_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
13
10
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
18
16
# [END env_variables]
Original file line number Diff line number Diff line change 23
23
24
24
# [START client]
25
25
# 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' )
34
27
MEMCACHE_USERNAME = os .environ .get ('MEMCACHE_USERNAME' )
35
28
MEMCACHE_PASSWORD = os .environ .get ('MEMCACHE_PASSWORD' )
36
29
You can’t perform that action at this time.
0 commit comments