Make Mempool Goggles look further back

I noticed that the Goggles on my Mempool service only work for about 6 hours back from the latest block. I want to enable it further back, like the mempool.space public site. I believe the way to do this is to set "GOGGLES_INDEXING": true, in mempool-config.json.

I made the change from the command line (sudo podman exec -it mempool.embassy bash, and edited the config in-place using sed). But when I restarted Mempool service, it overwrote the config back to the way it was ("GOGGLES_INDEXING": false,).

Why is it reverting my configuration change, and how can I make it stick?

Hi esp,

This won’t work as you noticed because all changes are wiped out every time the mepool restarts. To make your changes stick, you would need to compile the service yourself with the edited default configuration and then sideload it. Another option is to create a feature request on the GitHub repository of mempool to add this configuration option.