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