Skip to content

Commit

Permalink
Set default update interval to 2 secs (better)
Browse files Browse the repository at this point in the history
  • Loading branch information
raitonoberu committed Jul 28, 2022
1 parent ad673dc commit b7cc6e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ player: spotify
# Interval of the internal timer. Determines how often the terminal will be updated.
timerInterval: 200
# Interval for checking the position. Doesn't really affect the precision.
updateInterval: 3000
updateInterval: 2000

### Style settings ###
style:
Expand Down
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ type Config struct {
Cookie string `yaml:"cookie"`
Player string `default:"spotify" yaml:"player"`
TimerInterval int `default:"200" yaml:"timerInterval"`
UpdateInterval int `default:"3000" yaml:"updateInterval"`
UpdateInterval int `default:"2000" yaml:"updateInterval"`

Style struct {
HAlignment string `default:"center" yaml:"hAlignment"`
Expand Down

0 comments on commit b7cc6e0

Please sign in to comment.