Browse Source

MOD: merge_config

sunxy 1 năm trước cách đây
mục cha
commit
1dabcc5c48

+ 11 - 9
recommend-server-service/src/main/resources/merge_config.conf

@@ -18,15 +18,17 @@ queue-config = {
       }
       global-hot-queue = {
           class = "com.tzld.piaoquan.recommend.server.framework.merger.SimpleMergeQueue"
-          global1h-index = {
-              class = "com.tzld.piaoquan.recommend.server.implement.candidate.Global1hHotCandidate"
-          }
-          global3h-index = {
-              class = "com.tzld.piaoquan.recommend.server.implement.candidate.Global3hHotCandidate"
-          }
-          global24h-index = {
-              class = "com.tzld.piaoquan.recommend.server.implement.candidate.Global24hHotCandidate"
-          }
+          children = {
+            global1h-index = {
+                class = "com.tzld.piaoquan.recommend.server.implement.candidate.Global1hHotCandidate"
+            }
+            global3h-index = {
+                class = "com.tzld.piaoquan.recommend.server.implement.candidate.Global3hHotCandidate"
+            }
+            global24h-index = {
+                class = "com.tzld.piaoquan.recommend.server.implement.candidate.Global24hHotCandidate"
+            }
+         }
       }
     }
   }