Ejemplo n.º 1
0
        public void TriggerCacheSync([FromBody] AgilityPublishRequest publishRequest)
        {
            ValidateRequest(publishRequest.WebsiteName, publishRequest.SecurityKey);

            WebTrace.WriteVerboseLine(string.Format("Cache sync triggered: Domain:{0}, Website:{1}, Key:{2}", publishRequest.WebsiteDomain, publishRequest.WebsiteName, publishRequest.SecurityKey));

            SyncThread.QueueSyncThread(publishRequest, false);
        }