fix:修改部分日志

This commit is contained in:
Jerry 2025-09-23 17:38:46 +08:00
parent 20b533efe2
commit 1b380d8b8e
2 changed files with 6 additions and 6 deletions

View File

@ -56,7 +56,7 @@ export class OpenListUtils {
let data = JSON.stringify({
path: path,
});
this.logger.debug(path);
//this.logger.debug(path);
let config = {
method: 'post',
url: `${url}`,
@ -68,7 +68,7 @@ export class OpenListUtils {
};
let response = await axios(config);
//this.logger.debug(response);
this.logger.log(`列出目录${path}成功..`);
//this.logger.log(`列出目录${path}成功..`);
return response.data;
} catch (error) {
this.logger.error(`列出目录${path}失败..`, error);
@ -99,7 +99,7 @@ export class OpenListUtils {
data: data,
};
const response = await axios(config);
this.logger.log(`获取文件信息成功: ${filePath}`);
//this.logger.log(`获取文件信息成功: ${filePath}`);
return response.data;
} catch (error) {
this.logger.error(`获取文件信息失败: ${filePath}`, error);

View File

@ -123,9 +123,9 @@ export class MemeController {
type?.mime === 'image/webp' ||
type?.mime === 'image/apng';
this.logger.debug(type?.mime);
const singleRate = 100 * 1024; // 100 KB/s * 3
const maxThreads = 3;
//this.logger.debug(type?.mime);
const singleRate = 200 * 1024; // 100 KB/s * 3
const maxThreads = 2;
const maxRate = singleRate * maxThreads;
if (hasValidToken) {