mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-24 11:58:17 +01:00
0d54395fb5
The old EventWriter's Run does: ```go for { handlePause() select { case event <- Queue: write the log event ... } } ``` So, if an event writer is started before the logger is paused, there is a chance that the logger isn't paused for the first message. The new logic is: ```go for { select { case event <- Queue: handlePause() write the log event ... } } ``` Then the event writer can be correctly paused |
||
---|---|---|
.. | ||
color_console_other.go | ||
color_console_windows.go | ||
color_console.go | ||
color_router.go | ||
color.go | ||
event_format_test.go | ||
event_format.go | ||
event_writer_base.go | ||
event_writer_conn_test.go | ||
event_writer_conn.go | ||
event_writer_console.go | ||
event_writer_file.go | ||
event_writer.go | ||
flags_test.go | ||
flags.go | ||
groutinelabel_test.go | ||
groutinelabel.go | ||
init.go | ||
level_test.go | ||
level.go | ||
logger_global.go | ||
logger_impl.go | ||
logger_test.go | ||
logger.go | ||
manager_test.go | ||
manager.go | ||
misc.go | ||
stack.go |