mirror of
https://github.com/matrix-construct/construct
synced 2024-06-28 14:58:20 +02:00
ircd::resource: Clear peer error after peer contacts us.
This commit is contained in:
parent
292e8c5a12
commit
a054ac6b2f
|
@ -388,6 +388,9 @@ ircd::resource::operator()(client &client,
|
|||
"The X-Matrix Authorization is invalid."
|
||||
};
|
||||
|
||||
// If we have an error cached from previously not being able to
|
||||
// contact this origin we can clear that now that they're alive.
|
||||
server::errclear(client.request.origin);
|
||||
|
||||
// The origin was verified so we can invoke the cache warming now.
|
||||
cache_warm_origin(client.request.origin);
|
||||
|
|
Loading…
Reference in a new issue