Silence old warning

This commit is contained in:
Wojtek Figat
2022-05-06 17:16:01 +02:00
parent 90906baae2
commit 21e6c2603c

View File

@@ -230,7 +230,7 @@ bool Content::GetAssetInfo(const Guid& id, AssetInfo& info)
auto diff = now - LastWorkspaceDiscovery;
if (diff <= TimeSpan::FromSeconds(5))
{
LOG(Warning, "Cannot perform workspace scan for '{1}'. Too often call. Time diff: {0} ms", static_cast<int32>(diff.GetTotalMilliseconds()), id);
//LOG(Warning, "Cannot perform workspace scan for '{1}'. Too often call. Time diff: {0} ms", static_cast<int32>(diff.GetTotalMilliseconds()), id);
return false;
}
LastWorkspaceDiscovery = now;