diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-04-22 14:21:08 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-04-22 14:21:08 +0100 |
commit | f30d47c87651f92b69be224e016bda2cd7285f04 (patch) | |
tree | efb5f114a05477dce2b3fbe2c85f82d546b34fa3 /synapse/config | |
parent | Merge branch 'develop' into key_distribution (diff) | |
download | synapse-f30d47c87651f92b69be224e016bda2cd7285f04.tar.xz |
Implement remote key lookup api
Diffstat (limited to 'synapse/config')
-rw-r--r-- | synapse/config/server.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/config/server.py b/synapse/config/server.py index 050ab90403..a26fb115f2 100644 --- a/synapse/config/server.py +++ b/synapse/config/server.py @@ -62,7 +62,7 @@ class ServerConfig(Config): server_group.add_argument("--old-signing-key-path", help="The old signing keys") server_group.add_argument("--key-refresh-interval", - default=24 * 60 * 60 * 1000, # 1 Day + default=24 * 60 * 60 * 1000, # 1 Day help="How long a key response is valid for." " Used to set the exipiry in /key/v2/." " Controls how frequently servers will" @@ -156,5 +156,5 @@ class ServerConfig(Config): args.old_signing_key_path = base_key_name + ".old.signing.keys" if not os.path.exists(args.old_signing_key_path): - with open(args.old_signing_key_path, "w") as old_signing_key_file: + with open(args.old_signing_key_path, "w"): pass |