mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 14:56:42 -04:00
Review comments
This commit is contained in:
parent
f8b02c5420
commit
39b50ad42a
4 changed files with 4 additions and 7 deletions
|
@ -148,11 +148,8 @@ class BackgroundUpdateStore(SQLBaseStore):
|
|||
|
||||
return False
|
||||
|
||||
async def has_completed_background_update(self, update_name):
|
||||
async def has_completed_background_update(self, update_name) -> bool:
|
||||
"""Check if the given background update has finished running.
|
||||
|
||||
Returns:
|
||||
Deferred[bool]
|
||||
"""
|
||||
|
||||
if self._all_done:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue