Reduce dispatchers to 2 (by default)
This commit is contained in:
@@ -374,7 +374,7 @@ func NewServer(bind string, options ...Option) (*Server, error) {
|
||||
|
||||
am := auth.NewManager(auth.NewOptions("/login", "/register"))
|
||||
|
||||
tasks := NewDispatcher(10, 100) // TODO: Make this configurable?
|
||||
tasks := NewDispatcher(2, 10) // TODO: Make this configurable?
|
||||
|
||||
pm := passwords.NewScryptPasswords(nil)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user