Druby load_limit

H

Han Holl

Hi,

I'm using drb for a Postgres database connection pool, and to avoid problems
with premature garbage collection, I return the result array itself, rather
than a proxy PGresult object.

If the generated result is larger than the @load_limit, the client raises
an exception (drb.rb:107:in `load': too large packet 37106545) , but the
server is keeps waiting (as a rather large process, I might add).
This might be because I use unix domain sockets, rather than TCP/IP.

Wouldn't it make sense to generate this exception in the server? The client
would then automatically be notified.

Cheers,

Han Holl
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,240
Members
46,830
Latest member
HeleneMull

Latest Threads

Top