Pull request #48: RED-4653: Changed token-file path to the temp dir

Merge in RR/pyinfra from RED-4653 to master

* commit '8b050fe9b16cbea37b4becf7de54b25a9a4dbf63':
  RED-4653: Changed token-file path to the temp dir
This commit is contained in:
Viktor Seifert 2022-08-02 10:52:42 +02:00
commit 0f6512df54

View File

@ -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