Query for the correct server

This commit is contained in:
Devin Ragotzy 2021-03-04 08:02:41 -05:00
parent 79c9de98cd
commit e239014fa3

View file

@ -1148,7 +1148,7 @@ pub(crate) async fn fetch_signing_keys(
&db.globals,
&server,
get_remote_server_keys::v2::Request::new(
&server,
origin,
SystemTime::now()
.checked_add(Duration::from_secs(3600))
.expect("SystemTime to large"),