Ok, it's here: http://sdk.episerver.com/library/cms5/html/P_EPiServer_Configuration_Settings_DatabaseQueryTimeout.htm
Thanks asthiss.