We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e7b685 commit a365bc9Copy full SHA for a365bc9
internal/job/init.go
@@ -13,18 +13,18 @@ type CronJobParam struct {
13
ReplaceRMStatic bool
14
}
15
16
-var Params = map[string]CronJobParam{
17
- common.UpstreamNameGroupRankInfo: {
+var Params = []CronJobParam{
+ {
18
Name: common.UpstreamNameGroupRankInfo,
19
Url: common.UpstreamUrlGroupRankInfo,
20
ReplaceRMStatic: false,
21
},
22
- common.UpstreamNameRobotData: {
23
Name: common.UpstreamNameRobotData,
24
Url: common.UpstreamUrlRobotData,
25
26
27
- common.UpstreamNameSchedule: {
28
Name: common.UpstreamNameSchedule,
29
Url: common.UpstreamUrlSchedule,
30
ReplaceRMStatic: true,
0 commit comments