Skip to content

Commit

Permalink
Remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcinHoppe authored Jul 13, 2017
1 parent eb27731 commit 5836b43
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/NServiceBus.SqlServer/Queuing/TableBasedQueue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,6 @@ public async Task<bool> CheckExpiresIndexPresence(SqlConnection connection)
{
var rowsCount = (int)await command.ExecuteScalarAsync().ConfigureAwait(false);
return rowsCount > 0;
//if (rowsCount == 0)
//{
// Logger.WarnFormat(@"Table {0}.{1} does not contain index '{2}'." + Environment.NewLine + "Adding this index will speed up the process of purging expired messages from the queue. Please consult the documentation for further information.", schemaName, tableName, Sql.ExpiresIndexName);
//}
}
}

Expand All @@ -182,4 +178,4 @@ public override string ToString()

static ILog Logger = LogManager.GetLogger(typeof(TableBasedQueue));
}
}
}

0 comments on commit 5836b43

Please sign in to comment.