Skip to content

Commit

Permalink
refactor: add debug log for test epoll LT and ET
Browse files Browse the repository at this point in the history
  • Loading branch information
byene0923 committed May 10, 2024
1 parent c83ea12 commit 29af433
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions poller_epoll.go
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ func (p *poller) readWriteLoop() {
default: // for socket connections
c := p.getConn(fd)
if c != nil {
logging.Debug("NBIO[%v][%v_%v] trigger event, value: %v, mod: %v", p.g.Name, p.pollType, p.index, ev.Events, p.g.EpollMod)
if ev.Events&epollEventsWrite != 0 {
if c.onConnected == nil {
c.flush()
Expand Down

0 comments on commit 29af433

Please sign in to comment.