Skip to content

Commit

Permalink
Change threshold for reporting time differences between WeBWorK and t…
Browse files Browse the repository at this point in the history
…he LMS from 5 seconds to 10 seconds
  • Loading branch information
taniwallach committed Jul 28, 2021
1 parent f742942 commit f835b75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/WeBWorK/Authen/LTIAdvanced.pm
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ use URI::Escape;
use Net::OAuth;
use constant MP2 => ( exists $ENV{MOD_PERL_API_VERSION} and $ENV{MOD_PERL_API_VERSION} >= 2 );

use constant TIME_DIFF_THRESHOLD => 5; # seconds, threshold to report different between system time and oauth_timestamp time
use constant TIME_DIFF_THRESHOLD => 10; # seconds, threshold to report different between system time and oauth_timestamp time

$Net::OAuth::PROTOCOL_VERSION = Net::OAuth::PROTOCOL_VERSION_1_0A;

Expand Down

0 comments on commit f835b75

Please sign in to comment.