mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Initializing shells in warmup to speed up the first dynamic query
--HG-- branch : 1.x
This commit is contained in:
@@ -57,6 +57,12 @@ namespace Orchard.Startup {
|
||||
// Execute pending actions as the host is available
|
||||
WarmupHttpModule.Signal();
|
||||
}
|
||||
|
||||
// initialize shells to speed up the first dynamic query
|
||||
if (_host != null) {
|
||||
_host.BeginRequest();
|
||||
_host.EndRequest();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user