Skip to content

Commit

Permalink
Merge pull request #7045 from kozlovsky/fix/always_include_restapi_co…
Browse files Browse the repository at this point in the history
…mponent

Unconditionally include RESTComponent when starting Tribler Core
  • Loading branch information
kozlovsky authored Sep 9, 2022
2 parents 6571be1 + 3413158 commit 77fa948
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/tribler/core/start_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ def components_gen(config: TriblerConfig):
"""
yield ReporterComponent()
yield GuiProcessWatcherComponent()
if config.api.http_enabled or config.api.https_enabled:
yield RESTComponent()
yield RESTComponent()
if config.chant.enabled or config.torrent_checking.enabled:
yield MetadataStoreComponent()
if config.ipv8.enabled:
Expand Down

0 comments on commit 77fa948

Please sign in to comment.