]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1774448 Auth poll spam/timing repairs
authorBill Erickson <berickxx@gmail.com>
Thu, 31 May 2018 19:12:55 +0000 (15:12 -0400)
committerBill Erickson <berickxx@gmail.com>
Wed, 22 Aug 2018 16:21:23 +0000 (12:21 -0400)
commit2a05ce8eb87c23ef4a57119e547b2a25496b9a16
tree5ef844524fb23a5a04eb2559d890d0f972694915
parent6e32bb59f9802566f14b7be414dfc790f4ce417e
LP#1774448 Auth poll spam/timing repairs

Avoid spamming the server with authentication session checks on bad poll
time values.  Specifically, never poll more often than once per minute
and avoid integer overflow on long authentication timeout values
(greater than about 24.8 days) resulting in the poll running with an
effective timeout of zero and spamming the server with API calls.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Open-ILS/web/js/ui/default/staff/services/auth.js