RE: One result call per record

2008-04-23 Thread Ron Teitelbaum
Hi Michael, Thanks for your response. I'll play around with it. The sleep time added was to enable us to test the behavior of result. We are calling python through Smalltalk and we add the sleep on our end (the calling thread in Smalltalk not python) to enable other threads to process while wai

Re: One result call per record

2008-04-23 Thread Michael Ströder
Ron Teitelbaum wrote: While polling it appears that we have to call result for every record that is waiting to be read. Since we added a 250 millisecond delay between calls larger queries are taking a really long time. Why do you wait such a long time in an extra time.sleep() call? re

One result call per record

2008-04-22 Thread Ron Teitelbaum
Hi all, We are experiencing something pretty odd. CentOS 5 python2.4.4 python-ldap 2.3.4 While polling it appears that we have to call result for every record that is waiting to be read. Since we added a 250 millisecond delay between calls larger queries are taking a really long time. def se