Re: MySqlCommand CommandTimeout infinite?
Posted by: Jack Warren
Date: September 01, 2010 06:31PM

I found the same behaviour - long-running queries timed out after 30 seconds when commandtimeout=0 but when I set it to a larger value than the query was taking, it worked fine.

Does anyone know if this is a bug, or is there a new 'infinite' value for this parameter? I typically run asynchronous commands which may take several hours or even days if a large update - I check the status of such queries regularly, and the volume is small, so setting the value to infinite is not a risk. (My client side applications use an appropriate value of a few minutes at most).

Options: ReplyQuote


Subject
Written By
Posted
Re: MySqlCommand CommandTimeout infinite?
September 01, 2010 06:31PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.