Procházet zdrojové kódy

Revert "Only rebind web server on host/port changes"

This was a todo item from irclog, which has an extra value in config['web'] whose changes do not require a rebind.

This reverts commit 69e9daddec.
master
JustAnotherArchivist před 2 roky
rodič
revize
9c90ee443d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      http2irc.py

+ 1
- 1
http2irc.py Zobrazit soubor

@@ -990,7 +990,7 @@ class WebServer:
map_['moduleargs'],
map_['overlongmode']
) for map_ in config['maps'].values()}
needRebind = (self.config['web']['host'], self.config['web']['port']) != (config['web']['host'], config['web']['port'])
needRebind = self.config['web'] != config['web']
self.config = config
if needRebind:
self._configChanged.set()


Načítá se…
Zrušit
Uložit