Skip to content

Commit

Permalink
Revert "power up concurrency"
Browse files Browse the repository at this point in the history
This reverts commit 2185fc8.
  • Loading branch information
logica0419 committed Dec 10, 2023
1 parent 4b7a666 commit 662751b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ type Config struct {
Imaging struct {
// MaxPixels 処理可能な最大画素数 (default: 2560*1600)
MaxPixels int `mapstructure:"maxPixels" yaml:"maxPixels"`
// Concurrency 処理並列数 (default: 3)
// Concurrency 処理並列数 (default: 1)
Concurrency int `mapstructure:"concurrency" yaml:"concurrency"`
} `mapstructure:"imaging" yaml:"imaging"`

Expand Down Expand Up @@ -261,7 +261,7 @@ func init() {
viper.SetDefault("allowSignUp", false)
viper.SetDefault("accessLog.enabled", true)
viper.SetDefault("imaging.maxPixels", 2560*1600)
viper.SetDefault("imaging.concurrency", 3)
viper.SetDefault("imaging.concurrency", 1)
viper.SetDefault("mariadb.host", "127.0.0.1")
viper.SetDefault("mariadb.port", 3306)
viper.SetDefault("mariadb.username", "root")
Expand Down

0 comments on commit 662751b

Please sign in to comment.