Compare commits

...

1 Commits

Author SHA1 Message Date
educoder 73b357c2fb 自测运行 增加读取key的时间 2023-06-14 15:32:14 +08:00
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ public class RunOnlyHandler extends TextWebSocketHandler {
String runOnlyResultKey = RUN_ONLY_RESULT_KEY_PREFIX + msg.getString(DATA);
// webssh先收到请求需要等待一会
int i = 0;
while (!redisHelper.hasKey(runOnlyResultKey) && i < 5 * 10) {
while (!redisHelper.hasKey(runOnlyResultKey) && i < 30 * 10) {
ThreadUtil.sleepSilently(100);
i++;
}