-
- Downloads
[feat] use bonafide Provider object as a singleton
There was common situations where two provider instances where running in parallel. And was creating weird errors (like getting wrong api_uri) because the bootstrap deferreds were global but the Provider objects not. I don't like much singletons, but I think now is simpler than before. - Resolves: #9073
Showing
- src/leap/bitmask/bonafide/_protocol.py 6 additions, 16 deletionssrc/leap/bitmask/bonafide/_protocol.py
- src/leap/bitmask/bonafide/config.py 23 additions, 30 deletionssrc/leap/bitmask/bonafide/config.py
- src/leap/bitmask/core/mail_services.py 2 additions, 2 deletionssrc/leap/bitmask/core/mail_services.py
- tests/integration/bonafide/test_config.py 37 additions, 9 deletionstests/integration/bonafide/test_config.py
Loading
Please register or sign in to comment