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

Add an option to disable search for homeservers which may not be interested in it #4230

Merged
merged 4 commits into from
Dec 4, 2018

Conversation

turt2live
Copy link
Member

This is useful for homeservers not intended for users, such as bot-only homeservers or ones that only process IoT data.

This was done with a community hat on:
Signed-off-by: Travis Ralston [email protected]

…rested in it

This is useful for homeservers not intended for users, such as bot-only homeservers or ones that only process IoT data.
@codecov-io
Copy link

codecov-io commented Nov 27, 2018

Codecov Report

Merging #4230 into develop will increase coverage by 6.87%.
The diff coverage is 14.28%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #4230      +/-   ##
===========================================
+ Coverage    66.65%   73.52%   +6.87%     
===========================================
  Files          299      299              
  Lines        29796    29813      +17     
  Branches      4871     4875       +4     
===========================================
+ Hits         19861    21921    +2060     
+ Misses        8501     6460    -2041     
+ Partials      1434     1432       -2
Impacted Files Coverage Δ
synapse/storage/search.py 62.03% <0%> (-0.95%) ⬇️
synapse/handlers/search.py 80.24% <0%> (+2.74%) ⬆️
synapse/config/server.py 63.88% <100%> (+6.87%) ⬆️
synapse/handlers/federation.py 61.72% <0%> (+0.1%) ⬆️
synapse/handlers/user_directory.py 70.73% <0%> (+0.3%) ⬆️
synapse/handlers/sync.py 92.05% <0%> (+0.44%) ⬆️
synapse/rest/client/v1/room.py 92.75% <0%> (+0.5%) ⬆️
synapse/rest/client/v1/presence.py 65.95% <0%> (+1.06%) ⬆️
synapse/push/httppusher.py 68.23% <0%> (+1.17%) ⬆️
synapse/handlers/directory.py 73.12% <0%> (+1.25%) ⬆️
... and 111 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a44c0a0...7c1e82f. Read the comment docs.

synapse/storage/search.py Outdated Show resolved Hide resolved
Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

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

lgtm

@richvdh richvdh merged commit 158ffb9 into develop Dec 4, 2018
@turt2live turt2live deleted the travis/disable-search branch December 4, 2018 15:11
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.

4 participants