diff options
author | Simo Sorce <simo@redhat.com> | 2014-11-10 14:57:53 -0500 |
---|---|---|
committer | Patrick Uiterwijk <puiterwijk@redhat.com> | 2014-11-12 23:46:52 +0100 |
commit | 5e0b9747121eab67c5a3ee3bb42a677e35da7fd6 (patch) | |
tree | c93728a60d98385637c9dc82f05fa46fdf858e8f /quickrun.py | |
parent | 0087ad1e0824b4b1c49ce1468bfbb2e492ac7992 (diff) | |
download | ipsilon-5e0b9747121eab67c5a3ee3bb42a677e35da7fd6.tar.gz ipsilon-5e0b9747121eab67c5a3ee3bb42a677e35da7fd6.tar.xz ipsilon-5e0b9747121eab67c5a3ee3bb42a677e35da7fd6.zip |
Add simple SqlSession implementation
This allows us to store session data in the DB. This way session data can
be shared by multiple servers behind a balancer.
Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
Diffstat (limited to 'quickrun.py')
-rwxr-xr-x | quickrun.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/quickrun.py b/quickrun.py index 852f8b0..0546fcc 100755 --- a/quickrun.py +++ b/quickrun.py @@ -77,6 +77,9 @@ def config(workdir): 'admindb': admin_db, 'usersdb': users_db, 'transdb': trans_db, + 'sesstype': 'file', + 'sessopt': 'path', + 'sessval': os.path.join(workdir, 'sessions'), 'secure': 'False'}) conf = os.path.join(workdir, 'ipsilon.conf') with open(conf, 'w+') as f: |