Skip to content

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Aug 5, 2020

There is a bunch of magical code in HomeServer::Synapse for starting and monitoring processes. Replace this with the generic implementation in ProcessManager.

Factor out some magical code in `HomeServer::Synapse`, replacing it with the
more generic code we already have.

=cut

sub kill_and_await_finish
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is now provided by SyTest::Homeserver::ProcessManager, so doesn't need a dummy implementation here.

@richvdh richvdh requested a review from a team August 5, 2020 22:15
Copy link
Member

@clokep clokep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm fairly certain that this is fine. I'm guessing some of this code existed for Synapse first and then got abstracted?

@richvdh
Copy link
Member Author

richvdh commented Aug 6, 2020

yeah, I think so.

@richvdh richvdh merged commit 32bb9c2 into develop Aug 6, 2020
@richvdh richvdh deleted the rav/process_manager branch August 6, 2020 14:59
anoadragon453 added a commit that referenced this pull request Oct 21, 2020
…c_release_1_21_x

* origin/release-v1.20.1: (27 commits)
  Pin Alien::Sodium to an old version, to fix install errors (#949)
  Disable rate limiting on Dendrite (#947)
  Wait for synapse to start by using sd_notify. (#943)
  Fix bad tests (#939)
  Add ability to exclude tests for deprecated endpoints (#881)
  Abide by the spec when making /keys/query requests
  When putting device keys, may the JSON body spec compliant
  Remove trailing slashes from /state_ids and /backfill in ACL tests (#936)
  Fix /send server ACL test to match spec (#935)
  Call matrix_get_e2e_keys correctly
  Removed unused params from pydron invocation (#931)
  Deflake 'Server correctly resyncs when server leaves and rejoins a room' (#932)
  Dendrite configuration format v1 (#921)
  Disable TLS validation for Dendrite
  Set Dendrite loglevel to trace (#933)
  Merge Synapse::ViaHaproxy and -I Synapse::Dendron (#930)
  Use ProcessManager in Synapse.pm (#929)
  Add redis support to synapse docker image (#928)
  Update the README for the docker images (#927)
  Some minor cleanups to the startup scripts (#926)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants