Skip to content
Snippets Groups Projects
  • George Joseph's avatar
    d277db4a
    stasis: Add function to delete topic from pool · d277db4a
    George Joseph authored
    There's been a long standing leak when using topic pools.  The
    topics in the pool get cleaned up when the last pool reference is
    released but you can't remove a topic specifically.  If you reloaded
    app_voicemail for instance, and mailboxes went away, their topics
    were left in the pool.
    
    * Added stasis_topic_pool_delete_topic() so modules can clean up
      topics from pools.
    * Registered the topic pool containers so it can be examined from
      the CLI when AO2_DEBUG is enabled.  They'll be named
      "<topic_pool_name>-pool".
    
    Change-Id: Ib7957951ee5c9b9b4482af7b9b4349112d62bc25
    d277db4a
    History
    stasis: Add function to delete topic from pool
    George Joseph authored
    There's been a long standing leak when using topic pools.  The
    topics in the pool get cleaned up when the last pool reference is
    released but you can't remove a topic specifically.  If you reloaded
    app_voicemail for instance, and mailboxes went away, their topics
    were left in the pool.
    
    * Added stasis_topic_pool_delete_topic() so modules can clean up
      topics from pools.
    * Registered the topic pool containers so it can be examined from
      the CLI when AO2_DEBUG is enabled.  They'll be named
      "<topic_pool_name>-pool".
    
    Change-Id: Ib7957951ee5c9b9b4482af7b9b4349112d62bc25
stasis.c 48.17 KiB