private void StartRebuildJob(KeyValuePair <string, Index> index) { var options = new Jobs.JobOptions("Post Installation Index Build For Required Bucket Indexes", "Post Installation Indexing", Client.Site.Name, new Builder(index.Key), "Rebuild") { AfterLife = TimeSpan.FromMinutes(1.0) }; Jobs.JobManager.Start(options); }
private void StartRebuildJob(KeyValuePair<string, Index> index) { var options = new Jobs.JobOptions("Post Installation Index Build For Required Bucket Indexes", "Post Installation Indexing", Client.Site.Name, new Builder(index.Key), "Rebuild") { AfterLife = TimeSpan.FromMinutes(1.0) }; Jobs.JobManager.Start(options); }