Closed (fixed)
Project:
Tripletex
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
5 Mar 2012 at 08:02 UTC
Updated:
20 Mar 2012 at 15:00 UTC
Currently a new session is created every time we need to do something towards the JSON API. This is waste and unnecessary load on the JSON server.
Propose to store the session and re-use it until its about a minute old as this is said to be the lifetime of a session.
Comments
Comment #1
stenjo commentedAdded TRIPLETEX_SESSION_TIMEOUT constant set to 55 seconds at the top of the module file.
Not really testable so, no tests are created for this.