fix WorkModeling
This commit is contained in:
parent
b92c24b8d3
commit
19e238d2cc
@ -89,7 +89,8 @@ namespace FlowerShopBusinessLogic.BusinessLogics
|
|||||||
{
|
{
|
||||||
Id = Order.Id
|
Id = Order.Id
|
||||||
});
|
});
|
||||||
}
|
Thread.Sleep(Implementer.Qualification * _rnd.Next(10, 100));
|
||||||
|
}
|
||||||
|
|
||||||
catch (InvalidOperationException ex)
|
catch (InvalidOperationException ex)
|
||||||
{
|
{
|
||||||
@ -101,8 +102,6 @@ namespace FlowerShopBusinessLogic.BusinessLogics
|
|||||||
_logger.LogError(ex, "Error while do work");
|
_logger.LogError(ex, "Error while do work");
|
||||||
throw;
|
throw;
|
||||||
}
|
}
|
||||||
|
|
||||||
Thread.Sleep(Implementer.Qualification * _rnd.Next(10, 100));
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user