A248 / LibertyBans

The be-all, end-all of discipline.
https://ci.hahota.net:8443/job/LibertyBans/
GNU Affero General Public License v3.0
169 stars 41 forks source link

max-lifetime-minutes how to write values in seconds? #267

Closed Playsus1234 closed 3 months ago

Playsus1234 commented 6 months ago

I have confirmed that ...

Description

max-lifetime-minutes how to write values in seconds?

KoxSosen commented 6 months ago

Hello! The max-lifetime-minutes database configuration option gets converted into a Duration of minutes here, so to my knowledge there is no way to specify a second, or seconds here. But, changing the method would be a fairly easy change here.

Would you mind sharing what is your use-case here, as in using seconds instead of minutes?

A248 commented 4 months ago

If you want to refresh connections more frequently than a minute, wouldn't that negate most benefits of using a connection pool anyway?

A248 commented 3 months ago

Closing for the reason described. Feel free to reopen if wanted.