From 81058fc1cf2bbc1d95f2951b099322022f363a41 Mon Sep 17 00:00:00 2001 From: P-EB Date: Mon, 21 Oct 2024 17:50:30 +0200 Subject: [PATCH] Decrease the MAX_RSS set in test_cluster::test_max_rss (#240) --- django_q/tests/test_cluster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django_q/tests/test_cluster.py b/django_q/tests/test_cluster.py index f313022..915407f 100644 --- a/django_q/tests/test_cluster.py +++ b/django_q/tests/test_cluster.py @@ -487,7 +487,7 @@ def test_max_rss(broker, monkeypatch): stop_event = Event() cluster_id = uuidlib.uuid4() # override settings - monkeypatch.setattr(Conf, "MAX_RSS", 40000) + monkeypatch.setattr(Conf, "MAX_RSS", 20000) monkeypatch.setattr(Conf, "WORKERS", 1) # set a timer to stop the Sentinel threading.Timer(3, stop_event.set).start()