mirror of
https://gitee.com/ThingsGateway/ThingsGateway.git
synced 2025-10-21 19:14:30 +08:00
上传插件间隔时间修正
This commit is contained in:
@@ -360,9 +360,9 @@ namespace ThingsGateway.Mqtt
|
||||
_logger?.LogWarning(ex, ToString());
|
||||
}
|
||||
|
||||
if (CycleInterval > 500 + 50)
|
||||
if (CycleInterval > 100 + 50)
|
||||
{
|
||||
await Task.Delay(CycleInterval - 500);
|
||||
await Task.Delay(CycleInterval - 100);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@@ -267,9 +267,9 @@ namespace ThingsGateway.Mqtt
|
||||
{
|
||||
_logger.LogWarning(ex, ToString());
|
||||
}
|
||||
if (CycleInterval > 500 + 50)
|
||||
if (CycleInterval > 100 + 50)
|
||||
{
|
||||
await Task.Delay(CycleInterval - 500);
|
||||
await Task.Delay(CycleInterval - 100);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@@ -261,9 +261,9 @@ namespace ThingsGateway.RabbitMQ
|
||||
_logger?.LogWarning(ex, ToString());
|
||||
}
|
||||
|
||||
if (CycleInterval > 500 + 50)
|
||||
if (CycleInterval > 100 + 50)
|
||||
{
|
||||
await Task.Delay(CycleInterval - 500);
|
||||
await Task.Delay(CycleInterval - 100);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user