jpoehls / dotnetmigrations

DotNetMigrations is a database migration framework that assists in managing and versioning database changes. It was originally designed as a straight port of the rails functionality located in the Ruby on Rails framework; however, has recently moved into a more open framework thanks to the power of the Managed Extensibility Framework.
Other
36 stars 10 forks source link

Timeouts #23

Closed mloeffen closed 13 years ago

mloeffen commented 13 years ago

Hi, I'm still working with the 0.5 version and had a problem with timeouts on scripts that took a while to complete. To fix that I added CommandTimeout = 0 where the DbCommands where being created. Could you add this to the latest version of DotNetMigrations?

jpoehls commented 13 years ago

As of commit 1b5115c you can now include a CommandTimeout parameter in your connection string. This value will be used as the DbCommand.CommandTimeout value when your scripts are executed.

This will be included in v0.83 when it is released.