Skip to content

Commit 0b92fee

Browse files
committed
Release 0.17.5
2 parents e099a5a + 4343478 commit 0b92fee

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

api/tacticalrmm/core/tests.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ def setUp(self):
449449
self.setup_coresettings()
450450

451451
def test_standard_install(self):
452-
self.assertEqual(get_nats_url(), "nats://localhost:4222")
452+
self.assertEqual(get_nats_url(), "nats://127.0.0.1:4222")
453453

454454
@override_settings(
455455
NATS_STANDARD_PORT=5000,
@@ -469,7 +469,7 @@ def test_custom_connect_host_env(self):
469469
self.assertEqual(get_nats_url(), "nats://172.20.4.3:4222")
470470

471471
def test_standard_nats_hosts(self):
472-
self.assertEqual(get_nats_hosts(), ("localhost", "localhost", "localhost"))
472+
self.assertEqual(get_nats_hosts(), ("127.0.0.1", "127.0.0.1", "127.0.0.1"))
473473

474474
@override_settings(DOCKER_BUILD=True, ALLOWED_HOSTS=["api.example.com"])
475475
def test_docker_nats_hosts(self):

api/tacticalrmm/tacticalrmm/helpers.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ def get_nats_hosts() -> tuple[str, str, str]:
5858
# standard install
5959
if not settings.DOCKER_BUILD and not getattr(settings, "USE_NATS_STANDARD", False):
6060
std_bind_host, ws_bind_host, connect_host = (
61-
"localhost",
62-
"localhost",
63-
"localhost",
61+
"127.0.0.1",
62+
"127.0.0.1",
63+
"127.0.0.1",
6464
)
6565

6666
# allow customizing all nats hosts

api/tacticalrmm/tacticalrmm/settings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
AUTH_USER_MODEL = "accounts.User"
2121

2222
# latest release
23-
TRMM_VERSION = "0.17.4"
23+
TRMM_VERSION = "0.17.5"
2424

2525
# https://github.com/amidaware/tacticalrmm-web
2626
WEB_VERSION = "0.101.40"

0 commit comments

Comments
 (0)