fix http timeout
This commit is contained in:
@@ -2,6 +2,7 @@ package cron
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"os"
|
"os"
|
||||||
|
"time"
|
||||||
|
|
||||||
"git.apinb.com/bsm-sdk/core/utils"
|
"git.apinb.com/bsm-sdk/core/utils"
|
||||||
"git.apinb.com/dataset/stock/internal/logic/a"
|
"git.apinb.com/dataset/stock/internal/logic/a"
|
||||||
@@ -34,5 +35,5 @@ func updateTask() {
|
|||||||
// 生成Markdown文件
|
// 生成Markdown文件
|
||||||
a.GenMarkData()
|
a.GenMarkData()
|
||||||
// start strategy
|
// start strategy
|
||||||
utils.HttpGet("http://localhost:13499/start/strategy")
|
utils.HttpGet("http://localhost:13499/start/strategy", time.Minute*60*3)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user