This commit is contained in:
shoopea 2019-06-11 11:43:57 +08:00
parent 1364318ce4
commit 2cb2fd3373
2 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,7 @@
ChirpNestBot ChirpNestBot
- [ ] Test HTML in message - [x] Test HTML in message
- [ ] Update auction from broadcast - [x] Update auction from broadcast
- [ ] Make sure refresh message receives the message later (jobMsgRefresh)
- [ ] Update old auctions with client - [ ] Update old auctions with client
- [ ] Convert config to json - [ ] Convert config to json
- [ ] Eliminate cache map race conditions (all maps with read/write) and use redis ? - [ ] Eliminate cache map race conditions (all maps with read/write) and use redis ?

2
job.go
View File

@ -361,6 +361,8 @@ func jobPillage(j Job) {
func jobMsgRefresh(j Job) { func jobMsgRefresh(j Job) {
var p JobPayloadMsgRefresh var p JobPayloadMsgRefresh
// identify whether the message has been properly refreshed ? create new job ? reschedule same job ?
err := setJobStart(j.ID64) err := setJobStart(j.ID64)
logOnError(err, "jobMsgRefresh : setJobStart") logOnError(err, "jobMsgRefresh : setJobStart")