Skip to content

Commit

Permalink
Add note
Browse files Browse the repository at this point in the history
  • Loading branch information
TariqAHassan committed Jul 21, 2024
1 parent bc25bab commit c3d9c99
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions alsek/core/futures.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,9 @@ def __init__(self, task: Task, message: Message) -> None:
self._wrapper_exit: bool = False
self._thread = Thread(target=self._wrapper, daemon=True)
self._thread.start()

# Note: this must go here b/c the scan depends on
# `.complete`, which in turn depends on `_thread`.
self._revocation_scan_thread.start()

@property
Expand Down Expand Up @@ -283,6 +286,9 @@ def __init__(self, task: Task, message: Message, patience: int = 1 * 1000) -> No
daemon=True,
)
self._process.start()

# Note: this must go here b/c the scan depends on
# `.complete`, which in turn depends on `_process`.
self._revocation_scan_thread.start()

@property
Expand Down

0 comments on commit c3d9c99

Please sign in to comment.