mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 20:20:25 +03:00
Expirations are now based on last accessed instead of time created
This commit is contained in:
@@ -39,7 +39,7 @@ type MemoryFactory struct {
|
||||
// GetStartServerFunc builds memory api servers
|
||||
func (f MemoryFactory) GetStartServerFunc() StartServerFunc {
|
||||
return func() (chan<- string, <-chan error) {
|
||||
_, _, driver := memory.Start(f.MaxMemory, 3*time.Hour)
|
||||
_, _, driver := memory.Start(f.MaxMemory, 1*time.Hour)
|
||||
ctrl, status, _ := httpserver.Start(api.HTTPHandler(f.Domain, driver), f.Config)
|
||||
return ctrl, status
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user