1
0
Fork 0

change to ms

refactor/models
Matthew 2019-12-20 15:53:59 -05:00
parent f4ab9e9cb8
commit 1452ae0c9e
No known key found for this signature in database
GPG Key ID: 766BE43AE75F7559
1 changed files with 3 additions and 3 deletions

View File

@ -69,9 +69,9 @@ func main() {
HandleError(err, 1)
for {
handler()
fmt.Printf("Calling handler func [GO]\n")
time.Sleep(1000000 * time.Second)
handler()
time.Sleep(1000000 * time.Millisecond)
}
}
@ -82,7 +82,7 @@ func handler() {
for cur.Next(context.TODO()) {
go checkAccountSizeAndUpdate(cur.Current.Lookup("username").String(), cur.Current.Lookup("id").String())
fmt.Printf("Checking account information for %s\n", cur.Current.Lookup("username").String())
time.Sleep(600000 * time.Second)
time.Sleep(600000 * time.Millisecond)
}
}