Sunday, September 16, 2012

Re: Cakephp, gearman workers and changing database connection on the fly issue

Thanks Tarique,

Here you go. http://pastebin.com/ezCBqyGV

On Mon, Sep 17, 2012 at 10:10 AM, Dr. Tarique Sani <tariquesani@gmail.com> wrote:
On Sat, Sep 15, 2012 at 6:46 PM, Ketan Shah <ketan.shah@gmail.com> wrote:
> Thats correct. I am sending the db config info in the workload

Paste the code that you are using to change the DB

This should not happen because every workload is processed in its own
thread and they do not share anything. The DB connection should not
get cached

Tarique

--
=============================================================
PHP for E-Biz: http://sanisoft.com
=============================================================

--
Like Us on FacekBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.





--
"If you don't risk anything in life, you are risking even more"

--
Like Us on FacekBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

No comments: