This commit is contained in:
shoopea 2020-06-27 11:32:13 +02:00
parent 19a379830f
commit 25cc7389ad

View File

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