Skip to content

Commit

Permalink
Fixes #461
Browse files Browse the repository at this point in the history
Index needs to exist for cleanup to work
  • Loading branch information
Greg Bielleman committed Apr 10, 2015
1 parent 0b2488a commit 5a37595
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@ public void Init()
documentStore.Initialize();

Logger.Info("Index creation started");


//Create this index synchronously as we are using it straight away
//Should be quick as number of endpoints will always be a small number
documentStore.ExecuteIndex(new KnownEndpointIndex());

if (Settings.CreateIndexSync)
{
IndexCreation.CreateIndexes(typeof(RavenBootstrapper).Assembly, documentStore);
Expand Down

0 comments on commit 5a37595

Please sign in to comment.