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

stenjo’s picture

Status: Active » Fixed

Added 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.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.