RangerMauve / dat-gateway

Visit https://github.com/garbados/dat-gateway/ instead
19 stars 4 forks source link

Change how caching works to allow dats to live longer #7

Closed RangerMauve closed 6 years ago

RangerMauve commented 6 years ago

I think we should allow caching to be infinite with the logic changing in the following ways:

I think the gateway already allows for disabling the cleanup logic by setting the period to 0, so we might just need to add the max number logic