Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • N nrm
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 16
    • Issues 16
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • argo
  • nrm
  • Repository
Switch branch/tag
  • nrm
  • nrm
  • messaging.py
Find file BlameHistoryPermalink
  • Swann Perarnau's avatar
    [fix] use the same zmq context for all objects · 0d73d31b
    Swann Perarnau authored Feb 08, 2019
    pyzmq recommends the use of a single context for all objects in the same
    application:
    https://pyzmq.readthedocs.io/en/latest/api/zmq.html#zmq.Context.instance
    
    More importantly, each context creates at least one thread, resulting in
    a lot of threads with a lot of open file descriptors. This path reduces
    that number by quite a bit.
    0d73d31b