[fix(Issue)] fixed #166

This commit is contained in:
lkeme 2022-05-17 17:30:41 +08:00
parent 591ac2d663
commit b1b8b11378
4 changed files with 7 additions and 5 deletions

View File

@ -18,11 +18,13 @@
- 更新设备参数
- 优化一波代码
- 支持到php8.16
- 支持到PHP 8.16
- 检查更新周期24小时
### Fixed
- 修复检查更新
- 修复風機委員
-
### Remarks

View File

@ -6,9 +6,9 @@
"data": [
{
"_url": "注释: 活动地址",
"url": "https://www.bilibili.com/blackboard/activity-aEe0qbEc8N.html",
"url": "https://www.bilibili.com/blackboard/activity-99RGHMV3Y2.html",
"_title": "注释: 活动标题",
"title": "原神2.2应援激励计划",
"title": "原神2.6SP UP主激励计划",
"_description": "注释: 活动描述",
"description": "每日在原神分区任意直播间观看20分钟1张、1小时2张、2小时3张每日最高6张。",
"_room_id": "注释: 活动直播间如果为0则取分区随机一个",

View File

@ -32,7 +32,7 @@ class CheckUpdate
return;
}
self::check();
self::setLock(8 * 60 * 60);
self::setLock(24 * 60 * 60);
}
/**

View File

@ -32,7 +32,7 @@ class ZoneTcpClient
private static int|string $area_id;
private static int|string $room_id;
private static ?Socket $client;
private static ?Socket $client = null;
private static array $client_maps = [];
private static array $trigger_restart = [];
private static int $socket_timeout = 0;