自动刷新间隔调整为30秒
This commit is contained in:
1 parent
d4f96b0880
commit
854e10ed1a
1 file changed
+1
-1
@@ -22,7 +22,7 @@ namespace _29WxOrderWpf.Services;
|
|||||||
public class TaskService : SingleInstance<TaskService>
|
public class TaskService : SingleInstance<TaskService>
|
||||||
{
|
{
|
||||||
/// <summary>循环查询服务器任务状态的间隔(秒)</summary>
|
/// <summary>循环查询服务器任务状态的间隔(秒)</summary>
|
||||||
private const int TaskStatusPollIntervalSeconds = 10;
|
private const int TaskStatusPollIntervalSeconds = 30;
|
||||||
private readonly System.Timers.Timer _timer;
|
private readonly System.Timers.Timer _timer;
|
||||||
private readonly WxOrderServiceApi _kjdApi = new WxOrderServiceApi();
|
private readonly WxOrderServiceApi _kjdApi = new WxOrderServiceApi();
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user