Skip to content
This repository has been archived by the owner. It is now read-only.

Memcached is started even though it is commented out in config file #293

Closed
macosforgebot opened this issue Mar 7, 2010 · 3 comments
Closed

Comments

@macosforgebot
Copy link

@macosforgebot macosforgebot commented Mar 7, 2010

plaes@… originally submitted this as ticket:366


For some weird reason, memcache support is started even when no memcached configuration is present.

@macosforgebot
Copy link
Author

@macosforgebot macosforgebot commented Aug 17, 2010

john.holland@… originally submitted this as attachment:default-system-memcached.patch:⁠ticket:366

@macosforgebot
Copy link
Author

@macosforgebot macosforgebot commented Aug 17, 2010

john.holland@… originally submitted this as comment:1:⁠ticket:366


I see two possibilities:

  • explicitly configure memcached not to start
    <key>Memcached</key>
    <dict>
      <dict>
         <key>Default</key>
         <dict>
            <key>ServerEnabled</key>
            <false/>
         </dict>
      </dict>
    </dict>
  • default memcached to disabled
===================================================================
--- twistedcaldav/stdconfig.py  (revision 6084)
+++ twistedcaldav/stdconfig.py  (working copy)
@@ -549,7 +549,7 @@
         "Pools": {
             "Default": {
                 "ClientEnabled": True,
-                "ServerEnabled": True,
+                "ServerEnabled": False,
                 "BindAddress": "127.0.0.1",
                 "Port": 11211,
                 "HandleCacheTypes": [
@macosforgebot
Copy link
Author

@macosforgebot macosforgebot commented Sep 29, 2010

@wsanchez originally submitted this as comment:2:⁠ticket:366

  • Status changed from new to closed
  • Resolution changed from to Behaves correctly

The default is to start memcached, so not configuring it otherwise won't change that default. This works as designed.

memcached is a required part of the service, so the default won't be changing any time soon.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.