Set timeout in local cache (#1140)

This commit is contained in:
Xavier Guimard 2017-03-12 07:11:52 +00:00
parent f8b1e40944
commit 73b71e5587

View File

@ -63,7 +63,7 @@ sub createToken {
# Dereference $infos
my %h = %$infos;
$self->cache->set( $id, to_json( \%h ) );
$self->cache->set( $id, to_json( \%h ), $self->timeout . ' s' );
return $id;
}
else {