]> 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:35 +0000 (12:22 -0400)
commit8e3140c9d40d06659faaa1055a1c5cacef006787
treedb70dbff1f198a0674bab5067c7994efb08d9cdb
parent4effe3c63f29332a6b3a29ad568675217c538172
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