[Koha-bugs] [Bug 16715] Koha::Cache - Use Sereal for serialization

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 13 13:24:48 CEST 2016


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

--- Comment #6 from Jacek Ablewicz <abl at biblos.pk.edu.pl> ---
(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.


More information about the Koha-bugs mailing list