We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ac1be3 commit 2603ef9Copy full SHA for 2603ef9
aikido_zen/background_process/routes/__init__.py
@@ -83,9 +83,7 @@ def manage_routes_size(self):
83
if route.get("hits") < least_used[1]:
84
least_used = [key, route.get("hits")]
85
if least_used[0]:
86
- delete_route = self.routes[least_used[0]]
87
- if delete_route:
88
- del delete_route
+ del self.routes[least_used[0]]
89
90
def __iter__(self):
91
return iter(self.routes.values())
0 commit comments