diff --git a/synapse/types.py b/synapse/types.py
index 80fa903c4b..d4759b2dfd 100644
--- a/synapse/types.py
+++ b/synapse/types.py
@@ -38,6 +38,7 @@ from twisted.internet.interfaces import (
IReactorCore,
IReactorPluggableNameResolver,
IReactorTCP,
+ IReactorThreads,
IReactorTime,
)
@@ -63,7 +64,12 @@ JsonDict = Dict[str, Any]
# Note that this seems to require inheriting *directly* from Interface in order
# for mypy-zope to realize it is an interface.
class ISynapseReactor(
- IReactorTCP, IReactorPluggableNameResolver, IReactorTime, IReactorCore, Interface
+ IReactorTCP,
+ IReactorPluggableNameResolver,
+ IReactorTime,
+ IReactorCore,
+ IReactorThreads,
+ Interface,
):
"""The interfaces necessary for Synapse to function."""
|