this is tuto1
This commit is contained in:
parent
9eaa2bf4e8
commit
9262917553
19 changed files with 928 additions and 68 deletions
|
@ -22,7 +22,7 @@ func isPinging(student Student, body []byte) (interface{}, error) {
|
|||
} else if len(pongs) <= 0 {
|
||||
return false, nil
|
||||
} else {
|
||||
return time.Now().Before(pongs[0].Add(time.Second * 10)), nil
|
||||
return time.Now().Before(pongs[0].Add(time.Second * 90)), nil
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue