mirror of
https://github.com/JustKato/FreePad.git
synced 2026-02-23 15:50:46 +02:00
* Changed the frequency of the views save to one minute
This commit is contained in:
@@ -37,7 +37,7 @@ func TaskManager() {
|
||||
func savePostHandler() {
|
||||
// Save the views cache
|
||||
fmt.Println("[Task::Save]: File save registered")
|
||||
for range time.NewTicker(time.Second).C {
|
||||
for range time.NewTicker(time.Minute * 1).C {
|
||||
objects.SavePostViewsCache()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user