test
This commit is contained in:
parent
d2c59fe7b9
commit
89e50f06a5
@ -1,7 +1,7 @@
|
||||
ChirpNestBot
|
||||
- [x] Test HTML in message
|
||||
- [x] Update auction from broadcast
|
||||
- [ ] Adjust /time clock for auctions/...
|
||||
- [ ] Adjust /time clock for auctions/... (delay between cw and real time ?)
|
||||
- [ ] Make sure refresh message receives the message later (jobMsgRefresh)
|
||||
- [ ] Update old auctions with client
|
||||
- [ ] Convert config to json
|
||||
|
10
workers.go
10
workers.go
@ -210,9 +210,11 @@ func SQLJobWorker() {
|
||||
for true {
|
||||
jobs, err := loadCurrentJobs()
|
||||
logOnError(err, "SQLJobWorker : loadCurrentJobs")
|
||||
if len(jobs) > 0 {
|
||||
log.Printf("SQLJobWorker : %d jobs.\n", len(jobs))
|
||||
}
|
||||
/*
|
||||
if len(jobs) > 0 {
|
||||
log.Printf("SQLJobWorker : %d jobs.\n", len(jobs))
|
||||
}
|
||||
*/
|
||||
for _, j := range jobs {
|
||||
JobQueue <- j
|
||||
}
|
||||
@ -226,7 +228,7 @@ func SQLJobWorker() {
|
||||
func JobWorker(id int, jobs <-chan Job) {
|
||||
//log.Printf("jobWorker[" + strconv.Itoa(id) + "] : Starting.")
|
||||
for j := range jobs {
|
||||
log.Printf("JobWorker[%d] : Starting job %d.\n", id, j.ID64)
|
||||
//log.Printf("JobWorker[%d] : Starting job %d.\n", id, j.ID64)
|
||||
switch j.JobTypeID {
|
||||
case objSubTypeJobRescanMsg:
|
||||
jobRescan(j)
|
||||
|
Loading…
Reference in New Issue
Block a user