1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/modules/eventsource
zeripath 8e32eeb5de
Hold the event source when there are no listeners (#15725)
* Hold the event source when there are no listeners

The event source does not need to run when there are no listeners. Therefore
pause it when there are none.

* add some more logging

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-05-15 23:46:13 +02:00
..
event_test.go Add EventSource support (#11235) 2020-05-07 22:49:00 +01:00
event.go
manager_run.go Hold the event source when there are no listeners (#15725) 2021-05-15 23:46:13 +02:00
manager.go Hold the event source when there are no listeners (#15725) 2021-05-15 23:46:13 +02:00
messenger.go