Patchwork [1,of,2,remotefilelog] cacheclient: don't forget to specify the port of the memcached server

login
register
mail settings
Submitter Mathias De Maré
Date Sept. 29, 2015, 6:02 a.m.
Message ID <e628ae9c436be1f13f0b.1443506549@mathias-VirtualBox>
Download mbox | patch
Permalink /patch/10679/
State Not Applicable
Headers show

Comments

Mathias De Maré - Sept. 29, 2015, 6:02 a.m.
# HG changeset patch
# User Mathias De Maré <mathias.demare@gmail.com>
# Date 1443505738 -7200
#      Tue Sep 29 07:48:58 2015 +0200
# Node ID e628ae9c436be1f13f0bef2247cbdc6abf6adc9a
# Parent  a71e3fcf559f3a5a6f1cc082abeb71e47e63136b
cacheclient: don't forget to specify the port of the memcached server

Patch

diff -r a71e3fcf559f -r e628ae9c436b remotefilelog/cacheclient.py
--- a/remotefilelog/cacheclient.py	Mon Sep 28 10:31:38 2015 -0700
+++ b/remotefilelog/cacheclient.py	Tue Sep 29 07:48:58 2015 +0200
@@ -151,12 +151,12 @@ 
     remotefilelog uses this cacheclient by setting it in the repo config:
 
     [remotefilelog]
-    cacheprocess = cacheclient <ip address> <memcache prefix>
+    cacheprocess = cacheclient <ip address:port> <memcache prefix>
 
     When memcache requests need to be made, it will execute this process
     with the following arguments:
 
-    cacheclient <ip address> <memcache prefix><internal prefix> <cache path>
+    cacheclient <ip address:port> <memcache prefix><internal prefix> <cache path>
 
     Communication happens via stdin and stdout. To make a get request,
     the following is written to stdin: