mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-08 11:24:25 +00:00
Another service name issue.
This commit is contained in:
parent
3b5c6695d5
commit
cab24e4c7b
@ -1843,7 +1843,9 @@ class Uploader(service.MultiService, log.PrefixingLogMixin):
|
||||
"""I am a service that allows file uploading. I am a service-child of the
|
||||
Client.
|
||||
"""
|
||||
name = "uploader"
|
||||
# The type in Twisted for services is wrong in 22.10...
|
||||
# https://github.com/twisted/twisted/issues/10135
|
||||
name = "uploader" # type: ignore[assignment]
|
||||
URI_LIT_SIZE_THRESHOLD = 55
|
||||
|
||||
def __init__(self, helper_furl=None, stats_provider=None, history=None):
|
||||
|
@ -57,7 +57,7 @@ class StorageServer(service.MultiService):
|
||||
"""
|
||||
# The type in Twisted for services is wrong in 22.10...
|
||||
# https://github.com/twisted/twisted/issues/10135
|
||||
name = 'storage' # type: ignore
|
||||
name = 'storage' # type: ignore[assignment]
|
||||
# only the tests change this to anything else
|
||||
LeaseCheckerClass = LeaseCheckingCrawler
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user