Skip to content

Commit

Permalink
Merge pull request #32 from clear-street/vishesh/ttl-renew-thread-daemon
Browse files Browse the repository at this point in the history
Update TTL Renew Threads to be Daemon Threads
  • Loading branch information
Vishesh-Gupta authored Jan 25, 2023
2 parents c1e77d9 + 752a015 commit 948ea23
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions gestalt/vault.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,12 @@ def __init__(self,

dynamic_ttl_renew = Thread(name='dynamic-token-renew',
target=asyncio.run,
daemon=True,
args=(self.worker(
self.dynamic_token_queue), ))
kubernetes_ttl_renew = Thread(name="kubes-token-renew",
target=asyncio.run,
daemon=True,
args=(self.worker(
self.kubes_token_queue), ))
kubernetes_ttl_renew.start()
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def readme():
reqs_list = list(map(lambda x: x.rstrip(), reqs))

setup(name='gestalt-cfg',
version='3.1.0',
version='3.1.1',
description='A sensible configuration library for Python',
long_description=readme(),
long_description_content_type="text/markdown",
Expand Down

0 comments on commit 948ea23

Please sign in to comment.