We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$egMapsGeoJsonCacheTtl
I have set this var for 100 days (I assume it takes seconds)
$egMapsGeoJsonCacheTtl = 8640000;
But when I monitor the entries created in objectcache, they all get created with an expiration time of < 1 day:
objectcache
> SELECT keyname, exptime FROM objectcache ORDER BY keyname; | xpw_dev:Maps\DataAccess\CachingGeocoder: | 2023-01-22 17:37:54 | | xpw_dev:Maps\DataAccess\CachingGeocoder:Aldi_Leipzig_Hbf_ | 2023-01-22 17:39:45 | | xpw_dev:Maps\DataAccess\CachingGeocoder:Alnatura_Leipzig_Hbf_ | 2023-01-22 17:39:46 | | xpw_dev:Maps\DataAccess\CachingGeocoder:Bahnhofsplatz_1_Nürnberg_ | 2023-01-22 17:38:18 | | xpw_dev:Maps\DataAccess\CachingGeocoder:Lidl_Essen_Hauptbahnhof_ | 2023-01-22 17:37:54 | | xpw_dev:Maps\DataAccess\CachingGeocoder:Lidl_Nürnberg_Bahnhofsplatz_ | 2023-01-22 17:38:18 | | xpw_dev:Maps\DataAccess\CachingGeocoder:REWE_Frankfurt_Flughafen_ | 2023-01-22 17:38:50 | | xpw_dev:Maps\DataAccess\CachingGeocoder:Rewe_Willy-Brandt-Platz_4_ | 2023-01-22 17:39:46 | | xpw_dev:Maps\DataAccess\CachingGeocoder:SPAR_Express_Lieferservice_Frankfurt_ | 2023-01-22 17:38:51 | | xpw_dev:Maps\DataAccess\CachingGeocoder:dm_Essen_Hauptbahnhof_ | 2023-01-22 17:37:54 |
I'd expect exptime to be somewhen end of April (100 days from now). Did I miss sth?
exptime
The text was updated successfully, but these errors were encountered:
Code looks correct:
Maps/src/MapsFactory.php
Line 147 in 08a9a01
https://github.com/JeroenDeDauw/SimpleCache/blob/master/src/Cache/MediaWikiCache.php#L44
Maybe whatever MediaWiki implementation of BagOfStuff is used does not respect the TTL parameter?
Sorry, something went wrong.
It is calling newJeroenSimpleCacheFetcher which does not seem to appear anywhere else in the code. (Don't know if that's relevant.)
newJeroenSimpleCacheFetcher
Besides, can verify in your objectcache table that the correct exptime is set?
I don't know. How could I find out if 1.35.5 is doing this?
No branches or pull requests
Setup
Issue
I have set this var for 100 days (I assume it takes seconds)
But when I monitor the entries created in
objectcache
, they all get created with an expiration time of < 1 day:I'd expect
exptime
to be somewhen end of April (100 days from now). Did I miss sth?The text was updated successfully, but these errors were encountered: