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
b080cea2df
commit
0bf88963c3
2 changed files with 54 additions and 40 deletions
|
|
@ -127,6 +127,11 @@ func xWorker(workerData Info, u url.URL) {
|
|||
|
||||
now := time.Now().Unix()
|
||||
|
||||
if now > workerData.Start+60*60*8 {
|
||||
fmt.Println("too_long exit:", workerData.room)
|
||||
return
|
||||
}
|
||||
|
||||
m := string(message)
|
||||
slog <- saveLog{Rid: workerData.Rid, Now: now, Mes: m}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue