feat: improve zip processing speed closes #71
This commit is contained in:
@@ -8,8 +8,9 @@ import (
|
||||
)
|
||||
|
||||
type Config struct {
|
||||
Hostname string
|
||||
Port int
|
||||
Hostname string
|
||||
Port int
|
||||
NumberOfWorkers int `toml:"number_of_workers"`
|
||||
}
|
||||
|
||||
func LoadConfig() Config {
|
||||
@@ -21,8 +22,9 @@ func LoadConfig() Config {
|
||||
log.Error("Failed to load config file", "err", err)
|
||||
// Use default values
|
||||
return Config{
|
||||
Hostname: "localhost",
|
||||
Port: 8000,
|
||||
Hostname: "localhost",
|
||||
Port: 8000,
|
||||
NumberOfWorkers: 10,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user