Module: Apartment::TransactionTaint::PoolHeal
- Defined in:
- lib/apartment/transaction_taint.rb
Overview
Extended onto Apartment-owned tenant pools only. The primary pool and every app-owned pool are left alone: the same Rails defect reaches them, but they are not ours, and the blast radius there is one connection of N rather than a dead tenant. That gap is reported upstream, not patched here.
Instance Attribute Summary collapse
-
#apartment_pool_key ⇒ Object
Returns the value of attribute apartment_pool_key.
-
#apartment_taint_warned ⇒ Object
Returns the value of attribute apartment_taint_warned.
-
#apartment_tenant ⇒ Object
Returns the value of attribute apartment_tenant.
Instance Method Summary collapse
Instance Attribute Details
#apartment_pool_key ⇒ Object
Returns the value of attribute apartment_pool_key.
38 39 40 |
# File 'lib/apartment/transaction_taint.rb', line 38 def apartment_pool_key @apartment_pool_key end |
#apartment_taint_warned ⇒ Object
Returns the value of attribute apartment_taint_warned.
38 39 40 |
# File 'lib/apartment/transaction_taint.rb', line 38 def apartment_taint_warned @apartment_taint_warned end |
#apartment_tenant ⇒ Object
Returns the value of attribute apartment_tenant.
38 39 40 |
# File 'lib/apartment/transaction_taint.rb', line 38 def apartment_tenant @apartment_tenant end |
Instance Method Details
#checkin(conn) ⇒ Object
40 41 42 43 |
# File 'lib/apartment/transaction_taint.rb', line 40 def checkin(conn) TransactionTaint.heal(conn, self) super end |