|
@@ -16,8 +16,8 @@ var (
|
|
dir = "/userdata/competition/"
|
|
dir = "/userdata/competition/"
|
|
commandArgs = []string{"record", "--split", "--duration=1", "/pji_gps", "/data_read"}
|
|
commandArgs = []string{"record", "--split", "--duration=1", "/pji_gps", "/data_read"}
|
|
topic = "/cicv_competition"
|
|
topic = "/cicv_competition"
|
|
- urlExamBegin = "36.110.106.142/exam/begin"
|
|
|
|
- urlExamEnd = "36.110.106.142/exam/end"
|
|
|
|
|
|
+ urlExamBegin = "http://36.110.106.142:12341/web_server/exam/begin"
|
|
|
|
+ urlExamEnd = "http://36.110.106.142:12341/web_server/exam/end"
|
|
cacheMutex sync.Mutex
|
|
cacheMutex sync.Mutex
|
|
cacheTeamName = make(map[string]time.Time)
|
|
cacheTeamName = make(map[string]time.Time)
|
|
heartBeatTimeThreshold = 5 * time.Second // 心跳时间
|
|
heartBeatTimeThreshold = 5 * time.Second // 心跳时间
|