mirror of
https://github.com/ultrasn0w/huso.git
synced 2025-12-14 06:49:52 +01:00
Keep appointmets longer
This commit is contained in:
@@ -28,7 +28,7 @@ func Arbeit() {
|
||||
} else {
|
||||
cleared := 0
|
||||
for _, a := range appoints {
|
||||
if a.Time.Before(time.Now()) {
|
||||
if a.Time.Before(time.Now().Add(time.Hour * 22)) {
|
||||
// appointment expired
|
||||
keyBytes := Int64AndDateToBytes(a.Anime, a.Time)
|
||||
err = DbDelete(bucketAppoint, string(keyBytes))
|
||||
|
||||
Reference in New Issue
Block a user