Skip to content

Commit

Permalink
Modify sync interval
Browse files Browse the repository at this point in the history
  • Loading branch information
Yrp committed Oct 22, 2021
1 parent ffb0e2b commit 9358800
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions spin/hosts.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ import (
)

const (
hostSyncPeriod = 12 * 60 * time.Minute
hostSyncPeriod = 2 * 60 * time.Minute
hostStatsSyncPeriod = 2 * 60 * time.Minute
hostSettingsSyncPeriod = 24 * 60 * time.Minute
hostSettingsSyncPeriod = 2 * 60 * time.Minute
hostSyncTimeout = 30 * time.Second
hostSortTimeout = 5 * time.Minute
)
Expand Down
2 changes: 1 addition & 1 deletion spin/tron.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
)

const (
bttTxSyncPeriod = 60 * time.Minute
bttTxSyncPeriod = 2 * 60 * time.Minute
bttTxSyncTimeout = 1 * time.Minute
)

Expand Down

0 comments on commit 9358800

Please sign in to comment.