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
Add a try / except to catch the attribute error, and try to fetch the appropriate Darwin resource. If that does not work, exit the middleware gracefully but allow Janeway to run.
The text was updated successfully, but these errors were encountered:
Problem
The TimeMonitoring middleware does not work on Darwin / Mac OSX due to an unavailable attribute
resource.RUSAGE_THREAD
.janeway/src/utils/middleware.py
Lines 76 to 79 in 30fb420
Proposed solution
Add a try / except to catch the attribute error, and try to fetch the appropriate Darwin resource. If that does not work, exit the middleware gracefully but allow Janeway to run.
The text was updated successfully, but these errors were encountered: