~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to www/dispatch/__init__.py

  • Committer: wagrant
  • Date: 2008-08-14 07:23:00 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:1019
dispatch: Unlock the session just before we launch the app. If we don't
          do that, a single long-running request can potentially lock
          all sessions.
userservice: Lock the session while writing to it. It will be unlocked
             normally, as above.

Show diffs side-by-side

added added

removed removed

Lines of Context:
136
136
        # Well, it's a fine idea, but it creates considerable grief in the
137
137
        # concurrent update department, so instead, we'll just make the
138
138
        # sessions not time out.
139
 
        
 
139
        req.get_session().unlock()
 
140
 
140
141
        # If user did not specify an app, HTTP redirect to default app and
141
142
        # exit.
142
143
        if req.app is None: