What effect does setting database.network.expire to 0 have?

What happens when the number of days to retain the network_addresses table is set to 0?

Would it remove all entries every day?

This will effectively disable the option. The network records in the database will never expire. They will never be cleaned.

From the source code (click here to see the complete function):

Thanks rdwebdesign.

Shouldn't that information be added to the database.network.expire information/instructions in the web interface and pihole.toml?

Your original post mentions number of days to retain which is different than how often to expire. Additional documentation might be helpful but typically setting an expire period to 0 means never expire.