@@ -18,6 +18,8 @@ public class ImageVideoProperties {
|
||||
private String voiceSynthesisWorkflowId = "7652954297530105894";
|
||||
private int cozeConnectTimeoutMillis = 10000;
|
||||
private int cozeReadTimeoutMillis = 3600000;
|
||||
/** Maximum Coze response body retained by the image/video client. */
|
||||
private int cozeResponseMaxBytes = 2 * 1024 * 1024;
|
||||
private int archiveConnectTimeoutMillis = 10000;
|
||||
private int archiveReadTimeoutMillis = 600000;
|
||||
private int archiveMaxAttempts = 3;
|
||||
|
||||
@@ -61,8 +61,8 @@ public class SimilarAsinProperties {
|
||||
*/
|
||||
private int cozeSubmitMaxRetryCount = 5;
|
||||
|
||||
/** 图片下载、解码和缩放共享该池;默认 8,避免批量结果生成占满整机 CPU。 */
|
||||
private int imageDownloadPoolSize = 8;
|
||||
/** 图片下载、解码和缩放共享该池;4 核生产机默认 2,避免图片任务占满整机 CPU。 */
|
||||
private int imageDownloadPoolSize = 2;
|
||||
|
||||
/**
|
||||
* 单张图片下载超时(秒)。
|
||||
@@ -78,6 +78,13 @@ public class SimilarAsinProperties {
|
||||
/** 多源结果文件组装的单任务硬上限;运行期间由文件任务 heartbeat 保活。 */
|
||||
private int resultFileTimeoutMinutes = 90;
|
||||
|
||||
/**
|
||||
* Assemble each source workbook from chunk-scoped result maps. Keeping a
|
||||
* switch makes rollback possible for an existing deployment while the new
|
||||
* bounded path is observed in production.
|
||||
*/
|
||||
private boolean boundedResultAssemblyEnabled = true;
|
||||
|
||||
/**
|
||||
* assemble 阶段 taskImageCache 的字节上限。
|
||||
* 默认 256MB:5000 行 × 3 列 × 平均 100KB = 1.5GB 远超 2GB 堆,
|
||||
|
||||
Reference in New Issue
Block a user