-
RavenDB provides an option to configure the time after which an idle database should be unloaded from memory. However is there a way to disable unloading completely? I have a low-traffic database that gets unloaded often. Because of this, visiting the website causes a brief lag while it's waiting for the database server to respond, which doesn't provide a good user experience. If such an option is not available, could this be added? For example, setting By the way- welcome and glad to see GH Discussions available! Hopefully over time people will migrate from Google Groups to here. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi you can set the Databases.MaxIdleTimeInSec |
Beta Was this translation helpful? Give feedback.
Hi
you can set the Databases.MaxIdleTimeInSec
configuration to int.MaxValue (2147483647), this will prevent you databases from idling.