Skip to content
Snippets Groups Projects
  1. Oct 04, 2018
  2. Oct 03, 2018
  3. Oct 02, 2018
  4. Oct 01, 2018
  5. Sep 28, 2018
    • Alexei Gradinari's avatar
      res_pjsip: improve realtime performance on CLI 'pjsip show contacts' · 8bb031ab
      Alexei Gradinari authored
      CLI command 'pjsip show contacts' inefficiently make a lot of DB requests.
      
      For example if there are 10k aors then asterisk requests these 10k records
      of aor and then does 10k requests of contact - one request per aor.
      
      Even if use 'like <pattern>' the asterisk requests all aor's and contact's
      records and then filters them by itself.
      
      This patch gathers contact's container by
      - retrieving all dynamic contacts by regex (filtered by reg_server)
      - retrieving all aors with permanent contacts
      - finally filters container by regex
      
      ASTERISK-28077 #close
      
      Change-Id: Id0ad65d14952a02fb213273a90f3f680a8149618
      8bb031ab
    • Corey Farrell's avatar
      jansson-bundled: Add patches to improve json_pack error reporting. · 24b92291
      Corey Farrell authored
      Change-Id: I045e420d5e73e60639079246e810da6ae21ae22b
      Unverified
      24b92291
    • Corey Farrell's avatar
      lock: Improve performance of DEBUG_THREADS. · 205c6be8
      Corey Farrell authored
      Add a volatile flag to lock tracking structures so we only need to use
      the global lock when first initializing tracking.
      
      Additionally add support for DEBUG_THREADS_LOOSE_ABI.  This is used by
      astobj2.c to eliminate storage for tracking fields when DEBUG_THREADS is
      not defined.
      
      Change-Id: Iabd650908901843e9fff47ef1c539f0e1b8cb13b
      Unverified
      205c6be8
Loading