mirror of
https://github.com/statbate/special-pancake.git
synced 2026-08-11 03:12:42 +00:00
update
This commit is contained in:
parent
4b0b928cef
commit
e42f70e789
3 changed files with 43 additions and 44 deletions
|
|
@ -70,7 +70,7 @@ func saveDB() {
|
|||
|
||||
ticker := time.NewTicker(10 * time.Second)
|
||||
defer ticker.Stop()
|
||||
|
||||
|
||||
cleanCache := time.NewTicker(12 * time.Hour)
|
||||
defer cleanCache.Stop()
|
||||
|
||||
|
|
@ -172,8 +172,8 @@ func saveDB() {
|
|||
Chanel string `json:"chanel"`
|
||||
Index int64 `json:"index"`
|
||||
}{
|
||||
Chanel: "chaturbate",
|
||||
Index: index["tokens"] / int64(seconds) * 3600 / 1000 * 5 / 100,
|
||||
Chanel: "chaturbate",
|
||||
Index: index["tokens"] / int64(seconds) * 3600 / 1000 * 5 / 100,
|
||||
})
|
||||
if err == nil {
|
||||
socketServer <- msg
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue