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
I've noticed that the worker-connection sometimes freezes.
The reason for this is an unhandled io.ErrShortWrite error caused inside agent.write().
The writer throws this error when a worker-go-routine writes "dtWorkComplete" just after the main-thread receives a "dtNoop" but before sending "dtPreSleep".
In other words:
dtNoop
dtWorkComplete
dtPreSleep
This causes the issue because the go-routine is missing a synclock inside worker.exec().
I've solved this by changing:
Hello.
I've noticed that the worker-connection sometimes freezes.
The reason for this is an unhandled io.ErrShortWrite error caused inside agent.write().
The writer throws this error when a worker-go-routine writes "dtWorkComplete" just after the main-thread receives a "dtNoop" but before sending "dtPreSleep".
In other words:
dtNoop
dtWorkComplete
dtPreSleep
This causes the issue because the go-routine is missing a synclock inside worker.exec().
I've solved this by changing:
into
The text was updated successfully, but these errors were encountered: