[TASK] Limit request to get logout information 85/49685/2
authorNicole Cordes <typo3@cordes.co>
Mon, 29 Aug 2016 10:22:31 +0000 (12:22 +0200)
committerPhilipp Gampe <philipp.gampe@typo3.org>
Wed, 31 Aug 2016 15:38:46 +0000 (17:38 +0200)
commit391eaac8f3729dac658c5fb61f4c145147484e99
tree9b5beb88eb09e143046d69ee2fdca7f67f17dda9
parent2e82809715cc975e76cd775889a8c110ae43ebf1
[TASK] Limit request to get logout information

Currently a request to get information about the login state is
triggered every minute. To prevent traffic the request can be triggered
only when the session is about to expire. This patch adds a function
to be able to pass the interval time to the LoginRefresh refresh and
sets it properly after initialization.

Resolves: #76364
Releases: master, 7.6
Change-Id: I9bfeb578973f1a5bc3a0f662ac1f6dcce82e7d37
Reviewed-on: https://review.typo3.org/49685
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
typo3/sysext/backend/Classes/Controller/BackendController.php
typo3/sysext/backend/Resources/Public/JavaScript/LoginRefresh.js