We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sync_disk.go
func syncDisk() { time.Sleep(time.Second * g.CACHE_DELAY) //CACHE_DELAY = 1800 //s ticker := time.NewTicker(time.Millisecond * g.FLUSH_DISK_STEP) defer ticker.Stop() var idx int = 0 for { select { case <-ticker.C: idx = idx % store.GraphItems.Size FlushRRD(idx, false) idx += 1 case <-Out_done_chan: log.Println("cron recv sigout and exit...") return } } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
sync_disk.go
The text was updated successfully, but these errors were encountered: