Skip to content

Commit cdea2dc

Browse files
committed
tweak beaker session.type to memory
1 parent 8f0e588 commit cdea2dc

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

setting.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ class Config(object):
1818
'raise_on_warnings': True,
1919
}
2020

21-
MemcachedServer = ['127.0.0.1:11211']
22-
2321
UserAgent = [
2422
'Mozilla/5.0 (Windows; U; Windows NT 5.2; zh-CN; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5',
2523
'Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.0;+.NET+CLR+3.0.04506;)',
@@ -39,9 +37,8 @@ class Config(object):
3937
]
4038

4139
SessionOptions = {
42-
'session.type': 'ext:memcached',
43-
'session.cookie_expires': 300,
44-
'session.url': MemcachedServer[0],
40+
'session.type': 'memory',
41+
'session.cookie_expires': True,
4542
'session.key': 'auth_token',
4643
'session.httponly': True,
4744
'session.auto': True

0 commit comments

Comments
 (0)