Made the number of node to show on map to be configurable

This commit is contained in:
Pablo Revilla
2025-05-01 20:17:00 -07:00
parent afd86cb214
commit 36ddc97ca6
+1 -2
View File
@@ -1096,9 +1096,8 @@ async def nodelist(request):
#print(channel)
hw_model = request.query.get("hw_model")
#print(hw_model)
nodes= await store.get_nodes(role,channel, hw_model)
nodes= await store.get_nodes(role,channel, hw_model, days_active=3)
template = env.get_template("nodelist.html")
print_memory_usage()
return web.Response(
text=template.render(nodes=nodes, site_config = CONFIG),
content_type="text/html",