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

Commit

Permalink
Merge pull request #20 from qstokkink/upd_min_circuits
Browse files Browse the repository at this point in the history
Various fixes
  • Loading branch information
qstokkink authored Apr 19, 2024
2 parents 01279ec + f9f53e0 commit 5862b67
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/tribler/gui/event_request_manager.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from __future__ import annotations

import contextlib
import json
import logging
import time
Expand Down Expand Up @@ -196,7 +197,8 @@ def _connect_to_core(self, reschedule_on_err):
self.set_api_port(config_manager.get("api/http_port"))

if self.reply is not None:
self.reply.deleteLater()
with contextlib.suppress(RuntimeError):
self.reply.deleteLater()

# A workaround for Qt5 bug. See https://github.com/Tribler/tribler/issues/7018
self.setNetworkAccessible(QNetworkAccessManager.Accessible)
Expand Down
2 changes: 1 addition & 1 deletion src/tribler/tribler_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ class TriblerConfig(TypedDict):
),
"rendezvous": RendezvousConfig(enabled=True),
"torrent_checker": TorrentCheckerConfig(enabled=True),
"tunnel_community": TunnelCommunityConfig(enabled=True, min_circuits=1, max_circuits=8),
"tunnel_community": TunnelCommunityConfig(enabled=True, min_circuits=3, max_circuits=8),
"user_activity": UserActivityConfig(enabled=True, max_query_history=500, health_check_interval=5.0),

"state_dir": str((Path(os.environ.get("APPDATA", "~")) / ".TriblerExperimental").expanduser().absolute()),
Expand Down

0 comments on commit 5862b67

Please sign in to comment.