Do you think it would be possible to adapt this package so that the connection to the Redis instance only takes place when an http request is made, or to set a timeout so that the connection closes after a certain time without any interaction with the http service?
The fact that the http service is permanently connected to the Redis instance means that apps cannot be switched to sleep mode on Railway.
Some things than can prevent a service from being put to sleep -
Keeping active database connections open, such as a database connection pooler.
Hello @IKatsuba,
Do you think it would be possible to adapt this package so that the connection to the Redis instance only takes place when an http request is made, or to set a timeout so that the connection closes after a certain time without any interaction with the http service?
The fact that the http service is permanently connected to the Redis instance means that apps cannot be switched to sleep mode on Railway.
https://docs.railway.app/reference/app-sleeping
Thanks !