MV_SESSION_READ_RETRY — specifies the number of times to retry reading the session file
This variable specifies the number of times Interchange will attempt to read the user's session file before failing.
Example: Adjusting the MV_SESSION_READ_RETRY value
Add the following to interchange.cfg:
Variable MV_SESSION_READ_RETRY 3
Interchange 5.9.0:
Source: lib/Vend/Session.pm
Line 454 (context shows lines 444-458 in read_session():448)
# Should never get here
return undef;
}
sub read_session {
my $seed = shift;
my($s);
#::logDebug ("read session id=$Vend::SessionID name=$Vend::SessionName\n");
$s = $Vend::SessionDBM{$Vend::SessionName}
or $Global::Variable->{MV_SESSION_READ_RETRY}
and do {
my $i = 0;
my $tries = $Global::Variable->{MV_SESSION_READ_RETRY} + 0 || 5;
while($i++ < $tries) {