Know what, you should be able to it already with the code from trunk.
When you call erlyweb:compile(), pass as an option '{erlydb_timeout,
infinity}'. (If 'infinity' doesn't work, try a very high value).
Yariv
On Oct 31, 2007 11:01 AM, Yariv Sadan <[EMAIL PROTECTED]> wrote:
> I had a similar issue with Vimagi. I have a fix that I will check in
> after I clean it up. For now, you can just change the timeout value
> yourself and recompile.
>
> Yariv
>
>
> On Oct 31, 2007 9:25 AM, CK <[EMAIL PROTECTED]> wrote:
> >
> >
> > = Stupid Question
> >
> > How can I adjust the timeout in erlydb to 'infinity'?
> >
> > == Background
> >
> > I have a large table that I iterate over and (partially) read into
> > memory.
> > When executing the statement I get a timeout termination error:
> >
> > Reason for termination ==
> > ** {timeout,{gen_server,call,
> > [mysql_dispatcher,
> > {fetch,erlydb_mysql,
> > [[[[<<"SELECT
> >
> > The same code runs fine with only a few records in the table.
> >
> > I checked in the erlydb source and it seems that the timeout defaults
> > to 5 seconds.
> > But I was not able to figure out how to overwrite it.
> >
> >
> > > >
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"erlyweb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---