Commit f0d56734 authored by Julien Muchembled's avatar Julien Muchembled

fixup! admin: new --monitor-maxlag option

parent 7c539f0f
......@@ -180,7 +180,9 @@ class BackupHandler(EventHandler):
@monitor
def connectionClosed(self, name):
app = self.app
app.backup_dict[name] = app.backup_dict[name].__class__()
old = app.backup_dict[name]
new = app.backup_dict[name] = old.__class__()
new.max_lag = old.max_lag
app.maybeNotify(name)
@monitor
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment