madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r23370: LJSUP-14380: [internal] Unix domain sock...

Committer: sbelyaev
LJSUP-14380: [internal] Unix domain sockets for local redis
U   trunk/cgi-bin/LJ/LocalCache/Redis.pm
Modified: trunk/cgi-bin/LJ/LocalCache/Redis.pm
===================================================================
--- trunk/cgi-bin/LJ/LocalCache/Redis.pm	2012-11-27 08:01:34 UTC (rev 23369)
+++ trunk/cgi-bin/LJ/LocalCache/Redis.pm	2012-11-27 09:48:30 UTC (rev 23370)
@@ -19,6 +19,7 @@
     }    
 
     $local_connection = eval { Redis->new( encoding => undef,
+                                           sock   => $LJ::LOCAL_REDIS_UNIX_SOCKET,
                                            debug => 0) };
     if ($@ && $LJ::IS_DEV_SERVER) {
         warn "get read connection error: $@";

Tags: livejournal, madeon, pm, sbelyaev
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments