https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16715

--- Comment #6 from Jacek Ablewicz <[email protected]> ---
(In reply to Jonathan Druart from comment #2)
>
> for ( 1 .. 10 ) { 
>     my $cache = Koha::Cache->get_instance;
>     $cache->set_in_cache( 'my_t', $t );
>     $cache->get_from_cache( $t );
> }

This test looks a bit flawed, a least in the ->get_from_cache() part, I
replaced this part with

   my $cache = Koha::Cache->get_instance;
   $cache->set_in_cache( 'my_t', $t );

   for ( 1 .. 100 ) {
       $cache->get_from_cache( 'my_t' );
   }

to make interpretation of the results somehow easier.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to