Skip to content

Commit

Permalink
Merge pull request #75 from authorizon/stop_rehydrate_on_shutdown
Browse files Browse the repository at this point in the history
small bug fix: inline OPA was being rehydrated after responding by itself to keyboard interrupts
  • Loading branch information
asafc authored Jun 9, 2021
2 parents e41ae7a + 01b344a commit 5b35248
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion opal_client/opa/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ async def _run_opa_until_terminated(self) -> int:
self._process = await asyncio.create_subprocess_shell(
self.command,
stdout=asyncio.subprocess.PIPE,
stderr=asyncio.subprocess.PIPE
stderr=asyncio.subprocess.PIPE,
start_new_session=True,
)

# waits until the process is up, then runs a callback
Expand Down
2 changes: 1 addition & 1 deletion setup/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Project homepage: https://github.com/authorizon/opal
"""

VERSION = (0, 1, 7)
VERSION = (0, 1, 8)
VERSION_STRING = '.'.join(map(str,VERSION))

__version__ = VERSION_STRING
Expand Down

0 comments on commit 5b35248

Please sign in to comment.