minio/internal/event
Harshavardhana fbb5e75e01
avoid run-away goroutine build-up in notification send, use channels (#18533)
use memory for async events when necessary and dequeue them as
needed, for all synchronous events customers must enable

```
MINIO_API_SYNC_EVENTS=on
```

Async events can be lost but is upto to the admin to
decide what they want, we will not create run-away number
of goroutines per event instead we will queue them properly.

Currently the max async workers is set to runtime.GOMAXPROCS(0)
which is more than sufficient in general, but it can be made
configurable in future but may not be needed.
2023-12-05 02:16:33 -08:00
..
target feat: support elasticsearch notification endpoint compression codec (#18562) 2023-11-30 00:25:03 -08:00
arn_test.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
arn.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
config_test.go avoid run-away goroutine build-up in notification send, use channels (#18533) 2023-12-05 02:16:33 -08:00
config.go add gocritic/ruleguard checks back again, cleanup code. (#13665) 2021-11-16 09:28:29 -08:00
errors.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
event.go Bump up madmin-go and pkg deps (#17469) 2023-06-19 17:53:08 -07:00
name_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
name.go Add detailed scanner trace output and notifications (#16668) 2023-02-21 09:33:33 -08:00
rules_test.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
rules.go Update to minio/pkg/v2 (#17967) 2023-09-04 12:57:37 -07:00
rulesmap_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
rulesmap.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
targetid_test.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
targetid.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
targetidset_test.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
targetidset.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
targetlist_test.go avoid run-away goroutine build-up in notification send, use channels (#18533) 2023-12-05 02:16:33 -08:00
targetlist.go avoid run-away goroutine build-up in notification send, use channels (#18533) 2023-12-05 02:16:33 -08:00