Other: Remove unused SyncBuffers setting

This commit is contained in:
Leander Beernaert
2022-11-22 13:59:06 +01:00
parent a2ab5df7ce
commit 0df4f41269
9 changed files with 3 additions and 27 deletions

View File

@ -78,7 +78,6 @@ type User struct {
goPollAPIEvents func(wait bool)
syncWorkers int
syncBuffer int
showAllMail uint32
}
@ -92,7 +91,7 @@ func New(
apiUser liteapi.User,
crashHandler async.PanicHandler,
reporter gluonReporter.Reporter,
syncWorkers, syncBuffer int,
syncWorkers int,
showAllMail bool,
) (*User, error) { //nolint:funlen
logrus.WithField("userID", apiUser.ID).Info("Creating new user")
@ -136,7 +135,6 @@ func New(
pollAPIEventsCh: make(chan chan struct{}),
syncWorkers: syncWorkers,
syncBuffer: syncBuffer,
showAllMail: b32(showAllMail),
}