1
This commit is contained in:
parent
63e1858e39
commit
62ee401356
@ -3,7 +3,6 @@ package task
|
|||||||
import (
|
import (
|
||||||
"q5"
|
"q5"
|
||||||
"f5"
|
"f5"
|
||||||
"time"
|
|
||||||
"mt"
|
"mt"
|
||||||
"jccommon"
|
"jccommon"
|
||||||
"fmt"
|
"fmt"
|
||||||
@ -40,11 +39,11 @@ SELECT * FROM t_gold_bullion WHERE idx > %d AND activated = 0 AND returned = 0 A
|
|||||||
},
|
},
|
||||||
[]string{
|
[]string{
|
||||||
},
|
},
|
||||||
func () time.Duration {
|
func () int64 {
|
||||||
return time.Second * 10
|
return 10
|
||||||
},
|
},
|
||||||
func () time.Duration {
|
func () int64 {
|
||||||
return time.Second * 60 * 5
|
return 60 * 5
|
||||||
},
|
},
|
||||||
this.returnGold)
|
this.returnGold)
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,6 @@ package task
|
|||||||
import (
|
import (
|
||||||
"q5"
|
"q5"
|
||||||
"f5"
|
"f5"
|
||||||
"time"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
"jccommon"
|
"jccommon"
|
||||||
"main/constant"
|
"main/constant"
|
||||||
@ -40,11 +39,11 @@ SELECT * FROM t_nft WHERE idx > %d AND item_id = 0 LIMIT 1000`,
|
|||||||
},
|
},
|
||||||
[]string{
|
[]string{
|
||||||
},
|
},
|
||||||
func () time.Duration {
|
func () int64 {
|
||||||
return time.Second * 10
|
return 10
|
||||||
},
|
},
|
||||||
func () time.Duration {
|
func () int64 {
|
||||||
return time.Second * 60 * 5
|
return 60 * 5
|
||||||
},
|
},
|
||||||
this.repairNft)
|
this.repairNft)
|
||||||
}
|
}
|
||||||
@ -65,11 +64,11 @@ SELECT * FROM t_order WHERE idx > %d AND item_id = 0 LIMIT 1000`,
|
|||||||
},
|
},
|
||||||
[]string{
|
[]string{
|
||||||
},
|
},
|
||||||
func () time.Duration {
|
func () int64 {
|
||||||
return time.Second * 10
|
return 10
|
||||||
},
|
},
|
||||||
func () time.Duration {
|
func () int64 {
|
||||||
return time.Second * 60 * 5
|
return 60 * 5
|
||||||
},
|
},
|
||||||
this.repairOrder)
|
this.repairOrder)
|
||||||
}
|
}
|
||||||
@ -90,11 +89,11 @@ SELECT * FROM t_sale WHERE idx > %d AND item_id = 0 LIMIT 1000`,
|
|||||||
},
|
},
|
||||||
[]string{
|
[]string{
|
||||||
},
|
},
|
||||||
func () time.Duration {
|
func () int64 {
|
||||||
return time.Second * 10
|
return 10
|
||||||
},
|
},
|
||||||
func () time.Duration {
|
func () int64 {
|
||||||
return time.Second * 60 * 5
|
return 60 * 5
|
||||||
},
|
},
|
||||||
this.repairSale)
|
this.repairSale)
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,6 @@ package task
|
|||||||
import (
|
import (
|
||||||
"q5"
|
"q5"
|
||||||
"f5"
|
"f5"
|
||||||
"time"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
"jccommon"
|
"jccommon"
|
||||||
"main/constant"
|
"main/constant"
|
||||||
@ -39,11 +38,11 @@ SELECT * FROM t_order WHERE idx > %d AND status = ? LIMIT 100`,
|
|||||||
[]string{
|
[]string{
|
||||||
jccommon.ORDER_STATUS_ACTIVE,
|
jccommon.ORDER_STATUS_ACTIVE,
|
||||||
},
|
},
|
||||||
func () time.Duration {
|
func () int64 {
|
||||||
return time.Second * 3
|
return 3
|
||||||
},
|
},
|
||||||
func () time.Duration {
|
func () int64 {
|
||||||
return time.Second * 30
|
return 30
|
||||||
},
|
},
|
||||||
this.repairPrice)
|
this.repairPrice)
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,6 @@ package spec_transfer721
|
|||||||
import (
|
import (
|
||||||
"q5"
|
"q5"
|
||||||
"f5"
|
"f5"
|
||||||
"time"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
"mt"
|
"mt"
|
||||||
"jccommon"
|
"jccommon"
|
||||||
@ -44,11 +43,11 @@ SELECT * FROM t_721nft_spec_transfer WHERE idx > %d AND status = 0 AND createtim
|
|||||||
},
|
},
|
||||||
[]string{
|
[]string{
|
||||||
},
|
},
|
||||||
func () time.Duration {
|
func () int64{
|
||||||
return time.Second * 10
|
return 10
|
||||||
},
|
},
|
||||||
func () time.Duration {
|
func () int64 {
|
||||||
return time.Second * 60 * 1
|
return 60 * 1
|
||||||
},
|
},
|
||||||
this.dispatch)
|
this.dispatch)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user