Add authentication from upstream providers #107

Merged
pierre merged 25 commits from feat-upstream-providers into master 2023-04-27 10:10:29 +00:00
Showing only changes of commit 16ef969e29 - Show all commits

View File

@ -62,7 +62,7 @@ impl ProvidersStatesActor {
let keys = self.states.keys().map(|i| *i).collect::<Vec<_>>(); let keys = self.states.keys().map(|i| *i).collect::<Vec<_>>();
for ip in keys { for ip in keys {
// Remove old attempts // Remove old states
let states = self.states.get_mut(&ip).unwrap(); let states = self.states.get_mut(&ip).unwrap();
states.retain(|i| i.expire < time()); states.retain(|i| i.expire < time());