You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, thanks for the library, I have an improvement, however, I work with a copy of your code (my use case is slightly different). I have found out that the time visibility extending goroutine always sleeps even after the message was processed. This possibly can leave many goroutines sleeping for no reason when under load.
More efficient implementation is to use timer, it should be very easy to modify your version of the code as it's almost the same:
Hey, thanks for the library, I have an improvement, however, I work with a copy of your code (my use case is slightly different). I have found out that the time visibility extending goroutine always sleeps even after the message was processed. This possibly can leave many goroutines sleeping for no reason when under load.
More efficient implementation is to use timer, it should be very easy to modify your version of the code as it's almost the same:
Cheers!
The text was updated successfully, but these errors were encountered: