core: bridge can now be changed in conf

by default DBus bridge is used, but this can be changed in sat.conf's DEFAULT section using "bridge" option.
    bridge can be "dbus" (or equivalent "dbus_bridge") or embedded at the moment.
    Bridge name used is saved in SAT.bridge_name, and load_bridge method can be used by frontends.
This commit is contained in:
Goffi 2016-12-04 18:16:37 +01:00
commit 9ce91cf534

View file

@ -35,6 +35,10 @@ class Const(object):
APP_URL = u'http://salut-a-toi.org'
# Main config ##
DEFAULT_BRIDGE = 'dbus'
# Protocol
XMPP_C2S_PORT = 5222
XMPP_KEEP_ALIFE = 180