Skip to content
Snippets Groups Projects
Forked from Maunium / synapse
Source project has a limited visibility.
  • Richard van der Hoff's avatar
    8c69b735
    Make Distributor run its processes as a background process · 8c69b735
    Richard van der Hoff authored
    This is more involved than it might otherwise be, because the current
    implementation just drops its logcontexts and runs everything in the sentinel
    context.
    
    It turns out that we aren't actually using a bunch of the functionality here
    (notably suppress_failures and the fact that Distributor.fire returns a
    deferred), so the easiest way to fix this is actually by simplifying a bunch of
    code.
    8c69b735
    History
    Make Distributor run its processes as a background process
    Richard van der Hoff authored
    This is more involved than it might otherwise be, because the current
    implementation just drops its logcontexts and runs everything in the sentinel
    context.
    
    It turns out that we aren't actually using a bunch of the functionality here
    (notably suppress_failures and the fact that Distributor.fire returns a
    deferred), so the easiest way to fix this is actually by simplifying a bunch of
    code.