This commit is contained in:
shoopea 2020-06-27 11:36:05 +02:00
parent fed8992234
commit bcf7aa5092

View File

@ -486,9 +486,9 @@ func SQLIdentifyMsgWorker(id int, objIds <-chan int64) {
ObjID64: m.ObjID64,
}
b, _ := json.Marshal(&p)
jobID64, err := createJob(cacheObjSubType[`job_msg_refresh`], objJobPriority, m.TGUserID64, m.ObjID64, cwm.End.Add(5*time.Minute).UTC(), b)
jobID64, err := createJob(cacheObjSubType[`job_msg_refresh`], objJobPriority, m.TGUserID64, m.ObjID64, , b)
logOnError(err, "SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : insertMsgAuctionAnnounce createJob")
log.Printf("SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : insertMsgAuctionAnnounce : refreshing (%d) in %v\n%s", jobID64, time.Now().UTC().Sub(cwm.End.Add(5*time.Minute).UTC()), m.Text)
log.Printf("SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : insertMsgAuctionAnnounce : refreshing (%d) in %v\n%s", jobID64, cwm.End.Add(5*time.Minute).UTC().Sub(time.Now().UTC()), m.Text)
/* hack for autobid - FIXME */
/*
if cwm.Price == 0 && cwm.ItemID64 == getObjItemID(`k05`, `Hunter blade`) {