diff --git a/server/light_backtask/task/contribution.go b/server/light_backtask/task/contribution.go index cc42173e..0540d428 100644 --- a/server/light_backtask/task/contribution.go +++ b/server/light_backtask/task/contribution.go @@ -1,7 +1,7 @@ package task import ( - + "f5" ) type contribution struct { @@ -9,8 +9,18 @@ type contribution struct { } func (this* contribution) init() { - + go this.calc() } func (this* contribution) unInit() { } + +func (this* contribution) stat(time int64) { +} + +func (this* contribution) calc() { + for true { + nowTime := f5.GetApp().GetRealSeconds() + this.stat(nowTime) + } +} diff --git a/third_party/q5 b/third_party/q5 index dd6cf609..b9c7e050 160000 --- a/third_party/q5 +++ b/third_party/q5 @@ -1 +1 @@ -Subproject commit dd6cf609347a05742c56c1e5b7f1f671b4f20ebd +Subproject commit b9c7e05031727615fcd1c9c8355f66046701cc13