From 8b050fe9b16cbea37b4becf7de54b25a9a4dbf63 Mon Sep 17 00:00:00 2001 From: Viktor Seifert Date: Tue, 2 Aug 2022 10:44:56 +0200 Subject: [PATCH] RED-4653: Changed token-file path to the temp dir --- pyinfra/queue/queue_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyinfra/queue/queue_manager.py b/pyinfra/queue/queue_manager.py index 6780ab2..39383a7 100644 --- a/pyinfra/queue/queue_manager.py +++ b/pyinfra/queue/queue_manager.py @@ -31,7 +31,7 @@ def _get_n_previous_attempts(props): def token_file_name(): - token_file_path = Path("/var/run") / "consumer_token.txt" + token_file_path = Path("/tmp") / "consumer_token.txt" return token_file_path