File: change-memcached-port.patch

package info (click to toggle)
ruby-remcached 0.4.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 200 kB
  • sloc: ruby: 1,000; sh: 9; makefile: 2
file content (18 lines) | stat: -rw-r--r-- 564 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: change memcached port

By default memcached listen on 11211. So changing spec file accordingly.

Author: Praveen Arimbrathodiyil <praveen@debian.org>
Last-Update: 2013-03-22

--- a/spec/memcached_spec.rb
+++ b/spec/memcached_spec.rb
@@ -4,7 +4,7 @@
 describe Memcached do
   def run(&block)
     EM.run do
-      Memcached.servers = %w(127.0.0.2 localhost:11212 localhost localhost)
+      Memcached.servers = %w(127.0.0.1 localhost:11211 localhost localhost)
 
       @timer = EM::PeriodicTimer.new(0.01) do
         # at least localhost & localhost