1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-22 08:42:32 -05:00
forgejo/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.go Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
event_test.go Add EventSource support (#11235) 2020-05-07 22:49:00 +01:00
manager.go Hold the event source when there are no listeners (#15725) 2021-05-15 23:46:13 +02:00
manager_run.go Hold the event source when there are no listeners (#15725) 2021-05-15 23:46:13 +02:00
messenger.go Add EventSource support (#11235) 2020-05-07 22:49:00 +01:00