1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-16 18:48:16 -05:00

Revert "some logging from queue service"

This reverts commit 263dfda9c42a36428ad4aac4f77d0367a20a379c.
This commit is contained in:
Kyle Spearrin 2018-08-24 11:32:53 -04:00
parent 263dfda9c4
commit 46b9400f9f

View File

@ -60,9 +60,6 @@ namespace Bit.Notifications
var queueClient = storageAccount.CreateCloudQueueClient(); var queueClient = storageAccount.CreateCloudQueueClient();
_queue = queueClient.GetQueueReference("notifications"); _queue = queueClient.GetQueueReference("notifications");
_logger.LogInformation("starting queue read");
try
{
while(!cancellationToken.IsCancellationRequested) while(!cancellationToken.IsCancellationRequested)
{ {
var messages = await _queue.GetMessagesAsync(32, TimeSpan.FromMinutes(1), var messages = await _queue.GetMessagesAsync(32, TimeSpan.FromMinutes(1),
@ -85,10 +82,5 @@ namespace Bit.Notifications
} }
} }
} }
catch(Exception e)
{
_logger.LogError(e, "error from queue");
}
}
} }
} }