Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Optimise some references to hs.config #7546

Merged
merged 13 commits into from
May 22, 2020
Merged

Optimise some references to hs.config #7546

merged 13 commits into from
May 22, 2020

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented May 21, 2020

These are surprisingly expensive, and we only really need to do them at startup.

@richvdh richvdh requested a review from a team May 21, 2020 09:37
@richvdh richvdh mentioned this pull request May 21, 2020
@richvdh
Copy link
Member Author

richvdh commented May 21, 2020

looks like there are some tests to fix...

@richvdh richvdh removed the request for review from a team May 21, 2020 10:40
@richvdh richvdh self-assigned this May 21, 2020
@richvdh richvdh force-pushed the rav/inline_config_refs branch from 7834840 to fd19929 Compare May 21, 2020 16:32
@clokep
Copy link
Member

clokep commented May 21, 2020

@richvdh I was able to fix most of the tests, I had to split one tests.storage.test_monthly_active_users.MonthlyActiveUsersTestCase.test_initialise_reserved_users into three tests and I've been unable to get one of those to pass, see the diff around:
https://github.com/matrix-org/synapse/pull/7546/files#diff-600e23e788b487c46f7f776a1db73263L84-L94

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 think the additional changes look good! Assuming CI passes.

@richvdh richvdh merged commit f426969 into develop May 22, 2020
@richvdh richvdh deleted the rav/inline_config_refs branch May 22, 2020 20:47
phil-flex pushed a commit to phil-flex/synapse that referenced this pull request Jun 16, 2020
These are surprisingly expensive, and we only really need to do them at startup.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants