bug修改
This commit is contained in:
parent
b2319f2a51
commit
f260cffd56
@ -48,7 +48,7 @@ public class HttpClient {
|
||||
|
||||
public static String httpPost(String url, String json) throws IOException {
|
||||
//OkHttpClient httpClient = new OkHttpClient();
|
||||
OkHttpClient httpClient = new OkHttpClient().newBuilder().connectTimeout(300L, TimeUnit.SECONDS)
|
||||
OkHttpClient httpClient = new OkHttpClient().newBuilder().connectTimeout(300L, TimeUnit.MINUTES)
|
||||
.writeTimeout(60*30, TimeUnit.SECONDS)
|
||||
.readTimeout(60*30, TimeUnit.SECONDS)
|
||||
.build();
|
||||
|
@ -77,7 +77,7 @@ public class ScheduledTask extends BaseService {
|
||||
@Test
|
||||
public void test() throws IOException {
|
||||
}
|
||||
@Scheduled(fixedDelay = 1000*60)
|
||||
//@Scheduled(fixedDelay = 1000*60)
|
||||
public void testWebsocket() throws IOException {
|
||||
//查询出正在进炉加工的curr_task,查询对应炉号是否Working,查询计划时间,剩余时间,查询标识卡详情
|
||||
List<CurrTask> currTaskList = currTaskServiceBiz.list(new QueryWrapper<CurrTask>().eq(CurrTask.IS_IN, 1));
|
||||
|
Loading…
Reference in New Issue
Block a user