May
21
2 days ago
started
started time in 1 day ago
Apr
28
3 weeks ago
Activity icon
fork

photowey forked fagongzi/goetty

⚡ a net framework
photowey Apache License 2.0 Updated
fork time in 3 weeks ago
started
started time in 3 weeks ago
Mar
30
1 month ago
Activity icon
fork

youngurchin forked fagongzi/goetty

⚡ a net framework
youngurchin Apache License 2.0 Updated
fork time in 1 month ago
Mar
11
2 months ago
Activity icon
issue

w-zr issue fagongzi/goetty

w-zr
w-zr

Goroutine in TimeoutWheel leaks

Test in Matrixcube failed because of goroutine leaks.

=== RUN   TestLogDBGetMaxIndexReturnsNoSavedLogErrorWhenMaxIndexIsNotSaved
    leak.go:138: Leaked goroutine: goroutine 141 [chan receive]:
        github.com/fagongzi/goetty/timewheel.(*TimeoutWheel).doTick(0xc0000c8080)
        	/matrixcube/vendor/github.com/fagongzi/goetty/timewheel/timewheel.go:291 +0x105
        created by github.com/fagongzi/goetty/timewheel.(*TimeoutWheel).Start
        	/matrixcube/vendor/github.com/fagongzi/goetty/timewheel/timewheel.go:227 +0x291
    leak.go:138: Leaked goroutine: goroutine 142 [chan receive]:
        github.com/fagongzi/goetty/timewheel.(*TimeoutWheel).doExpired(0xc0000c8080)
        	/matrixcube/vendor/github.com/fagongzi/goetty/timewheel/timewheel.go:379 +0x85
        created by github.com/fagongzi/goetty/timewheel.(*TimeoutWheel).Start
        	/matrixcube/vendor/github.com/fagongzi/goetty/timewheel/timewheel.go:228 +0x305
--- FAIL: TestLogDBGetMaxIndexReturnsNoSavedLogErrorWhenMaxIndexIsNotSaved (5.16s)
Feb
23
3 months ago
started
started time in 2 months ago