Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeout for wait transactions [DNET165] #174

Closed
firebird-automations opened this issue May 13, 2008 · 5 comments
Closed

Timeout for wait transactions [DNET165] #174

firebird-automations opened this issue May 13, 2008 · 5 comments

Comments

@firebird-automations
Copy link

Submitted by: @cincuranet

Timeout for wait transactions.

Commits: fccb010

@firebird-automations
Copy link
Author

Modified by: @cincuranet

status: Open [ 1 ] => In Progress [ 3 ]

@firebird-automations
Copy link
Author

Modified by: @cincuranet

description: Requested by Vladimir Bodecek.
Timeout for wait transactions.

=>

Timeout for wait transactions.

@firebird-automations
Copy link
Author

Modified by: @cincuranet

status: In Progress [ 3 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 2.5.0 Alpha 3 [ 10261 ]

Fix Version: 2.5.0 [ 10170 ]

@firebird-automations
Copy link
Author

Commented by: @cincuranet

There's redesigned transaction options param. Now it holds transaction behavior (=old options) and new property for timeout (and it's open for future improvements). So now you will start transaction i.e.
conn.BeginTransaction(new FbTransactionOptions() { TransactionBehavior = FbTransactionBehavior.Wait, WaitTimeout = 3 })
.
The rest is same.

When you wanna to use timeout, simply set it (must be >=1). If empty (null), it's not used (important for FB1.5).

@firebird-automations
Copy link
Author

Modified by: @cincuranet

Fix Version: 2.5.0 [ 10170 ] =>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants