File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,9 @@ def _run_impl(self): # type: ignore[no-untyped-def]
9898 def sync (self ) -> Never :
9999 raise NotImplementedError
100100
101+ def stop (self ) -> None :
102+ raise NotImplementedError
103+
101104 def _cleanup (self ) -> None :
102105 with session_scope (self .namespace_id ) as mailsync_db_session :
103106 for x in self .folder_monitors : # type: ignore[attr-defined]
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ def __init__( # type: ignore[no-untyped-def]
104104 )
105105
106106 self .syncing_accounts = set () # type: ignore[var-annotated]
107- self .email_sync_monitors = {} # type: ignore[var-annotated]
107+ self .email_sync_monitors : dict [ int , BaseMailSyncMonitor ] = {}
108108 self .contact_sync_monitors = {} # type: ignore[var-annotated]
109109 self .event_sync_monitors = {} # type: ignore[var-annotated]
110110 # Randomize the poll_interval so we maintain at least a little fairness
You can’t perform that action at this time.
0 commit comments