BIND 10 #2022: DDNS improvement: destroy transaction within handle()
BIND 10 Development
do-not-reply at isc.org
Tue Jun 5 09:55:35 UTC 2012
#2022: DDNS improvement: destroy transaction within handle()
-------------------------------------+-------------------------------------
Reporter: jelte | Owner:
Type: enhancement | Status: new
Priority: medium | Milestone: New
Component: Unclassified | Tasks
Sensitive: 0 | Keywords:
Sub-Project: DNS | Defect Severity: N/A
Estimated Difficulty: 0 | Feature Depending on Ticket:
Total Hours: 0 | Add Hours to Ticket: 0
| Internal?: 0
-------------------------------------+-------------------------------------
Current, in the DDNS Session class, after _create_diff() is called within
handle(), the DDNS Session has a ongoing transaction until it it either
completed or the session itself is destroyed. This should not prove much
of a problem, since we are not expecting to keep these objects around, but
it would be cleaner if the transaction was only valid within the handle()
call.
Best approach is probably to use the Context interface and a with
statement.
--
Ticket URL: <http://bind10.isc.org/ticket/2022>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list