mirror of
https://github.com/pgsty/minio.git
synced 2026-10-06 17:55:59 +03:00
Enable persistent event store in elasticsearch (#7564)
This commit is contained in:
committed by
Nitish Tiwari
parent
2337e5f803
commit
bba562235b
@@ -33,7 +33,7 @@ var queueDir = filepath.Join(os.TempDir(), "minio_test")
|
||||
var testEvent = event.Event{EventVersion: "1.0", EventSource: "test_source", AwsRegion: "test_region", EventTime: "test_time", EventName: event.ObjectAccessedGet}
|
||||
|
||||
// Initialize the store.
|
||||
func setUpStore(directory string, limit uint16) (Store, error) {
|
||||
func setUpStore(directory string, limit uint64) (Store, error) {
|
||||
store := NewQueueStore(queueDir, limit)
|
||||
if oErr := store.Open(); oErr != nil {
|
||||
return nil, oErr
|
||||
|
||||
Reference in New Issue
Block a user