Conversation
c5ceb1c to
9556875
Compare
|
If adding garbage collection to L1 I think this should be also called in the integration layer's garbage collection. At the moment it is calling only L2's garbage collection. |
12278fb to
daf7d1f
Compare
The interface is mostly for testing so it's possible to create an item, have it expire, run GC, and finally verify that it gets GCed. SQLiteL1 already runs GC in its destructor, so library consumers don't have to do anything. Now, I'd prefer to move L1 GC into something that runs outside requests, but there's no concept in most CMS interfaces to run something locally on each web server or container, which would be required. The destructor is not so bad, anyway, as it runs after PHP-FPM has closed the request response. To avoid confusion, I've removed the |
daf7d1f to
1bc0706
Compare
Adds an L1 backed by SQLite. Moves GC from L2 to LX, as SQLiteL1 has a GC function.