Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Fix type annotation causing import time error in the Complement forki…
Browse files Browse the repository at this point in the history
…ng launcher. (#14084)

Co-authored-by: David Robertson <davidr@element.io>
  • Loading branch information
reivilibre and David Robertson authored Nov 1, 2022
1 parent dbfc9b8 commit b922b54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog.d/14084.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix type annotation causing import time error in the Complement forking launcher.
4 changes: 2 additions & 2 deletions synapse/app/complement_fork_starter.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@
import signal
import sys
from types import FrameType
from typing import Any, Callable, List, Optional
from typing import Any, Callable, Dict, List, Optional

from twisted.internet.main import installReactor

# a list of the original signal handlers, before we installed our custom ones.
# We restore these in our child processes.
_original_signal_handlers: dict[int, Any] = {}
_original_signal_handlers: Dict[int, Any] = {}


class ProxiedReactor:
Expand Down

0 comments on commit b922b54

Please sign in to comment.