diff --git a/src/NServiceBus.SqlServer/Queuing/TableBasedQueue.cs b/src/NServiceBus.SqlServer/Queuing/TableBasedQueue.cs index 0a6f84760..969d4cdca 100644 --- a/src/NServiceBus.SqlServer/Queuing/TableBasedQueue.cs +++ b/src/NServiceBus.SqlServer/Queuing/TableBasedQueue.cs @@ -155,10 +155,6 @@ public async Task 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); - //} } } @@ -182,4 +178,4 @@ public override string ToString() static ILog Logger = LogManager.GetLogger(typeof(TableBasedQueue)); } -} \ No newline at end of file +}