123456789101112131415161718192021222324252627282930 |
- package main
- import (
- "qfw/util"
- "sync"
- "time"
- )
- var wait sync.WaitGroup
- func main() {
- P_QL = NewPT()
- //wait.Add(1)
- go P_QL.updateAllQueue()
- //go P_QL.clearMem()
- if Sysconfig["loadStart"] != nil {
- loadStart := util.Int64All(Sysconfig["loadStart"])
- if loadStart > -1 {
- P_QL.loadData(loadStart)
- }
- }
- P_QL.currentType = "project"
- P_QL.pici = time.Now().Unix()
- P_QL.taskQl()
- c := make(chan bool, 1)
- <-c
- }
|