]> git.evergreen-ils.org Git - 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:22:15 +0000 (12:22 -0400)
commite112c316136a6068effa549b6aaff4e1113b2796
treef393da56b539b88512ebf079708fafea7a6f9e71
parentdcd4c6a88e0518010c9afc3619fe9fa44dab3b48
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