note 102486 added to memcached.addservers

From: Date: Thu, 17 Feb 2011 11:27:10 +0000
Subject: note 102486 added to memcached.addservers
Groups: php.notes 
Request: Send a blank email to php-notes+get-177062@lists.php.net to get a copy of this message
See the note for __construct() Important to not call ->addServers() every run -- only call it if no servers exist (check getServerList() ); otherwise, since addServers() does not check for dups, it will let you add the same server again and again and again, resultings in hundreds if not thousands of connections to the MC daemon. ---- Server IP: 64.71.164.2 Probable Submitter: 70.91.82.193 ---- Manual Page -- http://www.php.net/manual/en/memcached.addservers.php Edit -- https://master.php.net/note/edit/102486 Del: integrated -- https://master.php.net/note/delete/102486/integrated Del: useless -- https://master.php.net/note/delete/102486/useless Del: bad code -- https://master.php.net/note/delete/102486/bad+code Del: spam -- https://master.php.net/note/delete/102486/spam Del: non-english -- https://master.php.net/note/delete/102486/non-english Del: in docs -- https://master.php.net/note/delete/102486/in+docs Del: other reasons-- https://master.php.net/note/delete/102486 Reject -- https://master.php.net/note/reject/102486 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#177062) next »