This commit is contained in:
aozhiwei 2023-07-14 15:49:45 +08:00
parent 9e66427cef
commit 2381aaaa1c

View File

@ -156,11 +156,16 @@ class BaseEventProcess {
const {err, data} = await http.get(config('gameapi_url'), params);
if (err) {
utils.safeDumpErrStack(err);
log.error(logHead +err);
log.error(logHead + err);
await utils.sleep(5000 + utils.randRange(500, 1500));
continue;
}
console.log(logHead, data);
if (data['errcode'] == constant.ERRCODE_SIGN_ERROR) {
log.error(logHead);
await utils.sleep(5000 + utils.randRange(500, 1500));
continue;
}
const ret = await checkCb(data);
if (ret) {
break;