mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-07 10:56:49 +00:00
Switch to [storage] force_foolscap.
This commit is contained in:
parent
fb52b4d302
commit
f3fc426830
@ -104,6 +104,7 @@ _client_config = configutil.ValidConfiguration(
|
||||
"reserved_space",
|
||||
"storage_dir",
|
||||
"plugins",
|
||||
"force_foolscap",
|
||||
),
|
||||
"sftpd": (
|
||||
"accounts.file",
|
||||
|
@ -64,7 +64,6 @@ def _common_valid_config():
|
||||
"tcp",
|
||||
),
|
||||
"node": (
|
||||
"force_foolscap",
|
||||
"log_gatherer.furl",
|
||||
"nickname",
|
||||
"reveal-ip-address",
|
||||
@ -916,7 +915,7 @@ def create_main_tub(config, tub_options,
|
||||
# don't want to enable HTTP by default.
|
||||
# https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3934
|
||||
force_foolscap=config.get_config(
|
||||
"node", "force_foolscap", default=True, boolean=True
|
||||
"storage", "force_foolscap", default=True, boolean=True
|
||||
),
|
||||
handler_overrides=handler_overrides,
|
||||
certFile=certfile,
|
||||
|
@ -814,7 +814,7 @@ class SystemTestMixin(pollmixin.PollMixin, testutil.StallMixin):
|
||||
sethelper = partial(setconf, config, which, "helper")
|
||||
|
||||
setnode("nickname", u"client %d \N{BLACK SMILING FACE}" % (which,))
|
||||
setnode("force_foolscap", str(force_foolscap))
|
||||
setconf(config, which, "storage", "force_foolscap", str(force_foolscap))
|
||||
|
||||
tub_location_hint, tub_port_endpoint = self.port_assigner.assign(reactor)
|
||||
setnode("tub.port", tub_port_endpoint)
|
||||
|
Loading…
x
Reference in New Issue
Block a user