mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-18 10:07:02 +00:00
doc: Add doc/config.md to document config for #86
- Increase default max message size to 10MB.
This commit is contained in:
@@ -7,8 +7,8 @@ type msgDone struct {
|
||||
done chan struct{}
|
||||
}
|
||||
|
||||
// enforceMaxSize will delete the oldest message until the entire mail store is equal to or less
|
||||
// than Store.maxSize bytes.
|
||||
// maxSizeEnforcer will delete the oldest message until the entire mail store is equal to or less
|
||||
// than maxSize bytes.
|
||||
func (s *Store) maxSizeEnforcer(maxSize int64) {
|
||||
all := &list.List{}
|
||||
curSize := int64(0)
|
||||
|
||||
Reference in New Issue
Block a user