Skip to content

Commit

Permalink
IEX-1076 Intecrease grace period
Browse files Browse the repository at this point in the history
  • Loading branch information
SebaPucheta committed May 17, 2024
1 parent 3f68e0d commit 171384e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/modules/claim.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ app.get( '/claim/:event_id/:public_auth_token', async ( req, res ) => {
// Note: this sets how long scans are valid, it is an ESSENTIAL part of this applicaion
// CI is set low so we can check if our app is performans
// Live is set longer so that users on slow networks are not penalised
const old_auth_grace_period_in_ms = 1000 * ( CI || is_test_event ? 30 : 30 )
const old_auth_grace_period_in_ms = 1000 * ( CI || is_test_event ? 60 : 60 )

// Check whether the (previous) auth token is still valid
const current_auth_is_valid = public_auth?.token == public_auth_token
Expand Down

0 comments on commit 171384e

Please sign in to comment.