Learn more about these different git repos.
Other Git URLs
Currently, we have a cobwebs widget.
It shows up if the hub is "old".. i.e., if there has been no activity in any of its widgets in some long amount of time (30 days, or 90 days, etc..). It is a nice feature to have, so users can quickly identify stale content and move on.
We have a problem though. It has a should_invalidate function (which works!). Anytime any message comes along the bus, it checks to see if that message would invalidate any other widget on the hub. If so.. then it invalidates the cobwebs widget cache as well.
should_invalidate
This is crazy. There's a O(n^2) complexity thing going on for every message.
O(n^2)
That won't do. Since we wanted every hub to have a cobweb widget.. we should just reimplement it as a standard part of every hub (in hubs/templates/hub.html) and dispense with it as a "widget".
hubs/templates/hub.html
Commit f5cc6cc fixes this issue
Login to comment on this ticket.